Enables all controls bound to the given list of commands.
Syntax
Send_Message(Ctrl, "OLE.EnableCommands", CommandList)
Parameters
Parameter | Description |
---|---|
CommandList | @FM delimited list of command keys |
Remarks
The EnabledCommands method conveniently batch enables a collection of commands. Simply pass an @FM delimited list of command keys, and all controls associated to all the commands will immediately enable. See also the DisableCommands and HideCommands methods.
Example
// Enable several commands at once Send_Message(@Window:".OLE_RIBBON", "OLE.EnableCommands", "NEW":@FM:"OPEN":@FM:"SAVE":@FM:"CLOSE")