Enable or disables a command in the user interface. It will apply to toolbar items, main menu items, and context menu items.
int32 SetEnabled( int32 p_bEnabled )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_bEnabled | A flag specifying whether or not the command is enabled. |
None published. Please look for an example in the Scenome Scripting Language code base.