Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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") 

See Also

EnableCommands, HideCommands