Disables the command if the parent is derived from the specified type or types.
static int32 DisableIfParent( CommandPresentationModuleInfo p_oInfo, TypeInformation p_oTypeInfo, TypeInfoArray p_oArray, 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 | Optional <TypeInformation> pointer representing a single type to test. |
<TypeInfoArray> | p_oArray | An array of <TypeInformation> pointers representin multiple types 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.