VS:vsoWidgetSetEnable

From Vectorworks Developer
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Sets whether or not the specified parameter is enabled on the Object Info Palette.

Note: This function should be called during the parametric OIP generation event: 41: {kObjOnWidgetPrep}. See VS:Parametric Custom Shape Pane Popup.

PROCEDURE vsoWidgetSetEnable(
widgetID  : LONGINT;
enabled  : BOOLEAN);
def vs.vsoWidgetSetEnable(widgetID, enabled):
    return None

Parameters

widgetID LONGINT
enabled BOOLEAN

Version

Availability: from All Versions

This is drop-in function.