Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

MenuItem.GetKeyEquivalent

Returns the menuitem's unmodified keyboard equivalent.

Component Version macOS Windows Linux Server iOS SDK
Menu 4.1 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "MenuItem.GetKeyEquivalent"; 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 text or error.

Description

Returns the menuitem's unmodified keyboard equivalent.
The menuitem's unmodified keyboard equivalent, or the empty string if one hasn't been defined.
Use MenuItem.GetKeyEquivalentModifierMask to determine the modifier mask for the key equivalent.
See also MenuItem.SetKeyEquivalent.

See also

Created 18th August 2014, last changed 18th August 2014


MenuItem.GetItalic - MenuItem.GetKeyEquivalentModifierMask

Feedback: Report problem or ask question.