SetEnabled Data Member Function

Enable or disables a command in the user interface. It will apply to toolbar items, main menu items, and context menu items.

Prototype

int32 SetEnabled( int32 p_bEnabled )

Parameters

Parameter Type Parameter Name Documentation
int32p_bEnabledA flag specifying whether or not the command is enabled.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.