Versions Compared

Key

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

...

The RemoveGroups method permanently removes groups from the ribbon. If you want to temporarily hide groups, use the GroupVisible property instead.

All you have to do is pass an @FM delimited list of group keys. All controls within the specified groups will also be deleted, though any commands associated with the deleted controls are left alone so you can reuse them later.

...

Code Block
// Delete a bunch of groups
KeyList = "NAVIGATE":@FM:"PAGES":@FM:"TABLES":@FM:"SYMBOLS"
Send_Message(@Window:".OLE_RIBBON", "OLE.RemoveGroups", KeyList)

See Also

AddGroups