Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
MenuItem.SetGroupID
Sets the group id of the menu item.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Menu | 5.2 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "MenuItem.SetGroupID"; item; GroupID ) More
Parameters
Parameter | Description | Example |
---|---|---|
item | The reference to the menu item. Please create one with MenuItem.CreateMenuItem or MenuItem.CreateSeparator. | $item |
GroupID | Any string to identify your groups. | "123" |
Result
Returns OK or error.
Description
Sets the group id of the menu item.If several menu items have the same group id, the plugin only shows the first one fulfilling all requirements like key modifiers.
See also
This function checks for a license.
Created 6th June 2015, last changed 8th June 2015