Page History
...
The DisabledCommands method conveniently batch disables a collection of commands. Simply pass an @FM delimited list of command keys, and all controls associated to all the commands will immediately disable. See also the EnableCommands and HideCommands methods.
Example
Code Block |
---|
// Disable several commands at once Send_Message(@Window:".OLE_RIBBON", "OLE.DisableCommands", "NEW":@FM:"OPEN":@FM:"SAVE":@FM:"CLOSE") |