Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
MenuItem.GetState
Returns the state of the menu item.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Menu | 4.1 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "MenuItem.GetState"; item ) More
Parameters
Parameter | Description | Example |
---|---|---|
item | The reference to the menu item. Please create one with MenuItem.CreateMenuItem or MenuItem.CreateSeparator. | $item |
Result
Returns on, off, mixed or error message.
Description
Returns the state of the menu item.See also MenuItem.SetState.
See also
- MenuItem.CreateMenuItem
- MenuItem.GetImage
- MenuItem.GetItalic
- MenuItem.GetPath
- MenuItem.GetSubMenu
- MenuItem.GetTag
- MenuItem.GetTitle
- MenuItem.SetImage
- MenuItem.SetItalic
- MenuItem.SetState
This function checks for a license.
Created 18th August 2014, last changed 31st August 2014