Gets the command state for builtin or custom command in specified location.
Visual Basic |
---|
Public Function GetCommandState( _ ByVal command As Long, _ ByVal location As CommandLocation, _ ByVal includeBuiltInState As Boolean, _ ByVal includeScriptSpecifiedState As Boolean _ ) As CommandState |
Value | Description |
---|---|
CommandLocation_All | Refers to all locations. |
CommandLocation_ContextMenu | Refers to the context menu and the Create button in the top pane. |
CommandLocation_MainMenu | Refers to the menu bar. Press Alt to show the menu bar in M-Files Desktop. |
CommandLocation_TaskPane | Refers to the task area. |
CommandLocation_Undefined | Undefined value. |
Supported in M-Files 10.0.3911.3 and newer.