Enables the command in the UI if the parent is derived from the specified type.
static int32 TestParent( CommandPresentationModuleInfo p_oInfo, TypeInformation p_oTypeInfo, string p_sHint )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<CommandPresentationModuleInfo> | p_oInfo | A pointer to the <CommandPresentationModuleInfo> object that is managing command display for the application. |
TypeInformation | p_oTypeInfo | A <TypeInformation> pointer representing the type to test. |
string | p_sHint | The hint text to display in the status bar, for both success and failure cases. This hint will be displayed in the UI status bar at the lower left corner of the application. |
None published. Please look for an example in the Scenome Scripting Language code base.