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