Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.5   9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2    Statistic  


Marks the receiver as an alternate to the previous menu item.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Menu 4.1 Yes No No No No
MBS( "MenuItem.SetAlternate"; item; value )   More


Parameter Description Example value
item The reference to the menu item. Please create one with MenuItem.CreateMenuItem or MenuItem.CreateSeparator. $item
value 1 if the receiver is an alternate to the previous menu item, 0 otherwise. 1


Returns OK or error.


Marks the receiver as an alternate to the previous menu item.
If the receiver has the same key equivalent as the previous item, but has different key equivalent modifiers, the items are folded into a single visible item and the appropriate item shows while tracking the menu, depending on what modifier key (if any) is pressed. The menu items may also have no key equivalent as long as the key equivalent modifiers are different.
See also MenuItem.GetAlternate.

See also

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

MenuItem.Release   -   MenuItem.SetAttributedTitle

Feedback: Report problem or ask question.

MBS FileMaker Plugins