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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
MenuItem.SetAlternate
Marks the receiver as an alternate to the previous menu item.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Menu | 4.1 | Yes | No | No | No | No |
MBS( "MenuItem.SetAlternate"; item; value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| 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 |
Result
Returns OK or error.
Description
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
- MenuItem.CreateMenuItem
- MenuItem.CreateSeparator
- MenuItem.GetAlternate
- MenuItem.SetState
- MenuItem.SetUnderline
Created 18th August 2014, last changed 18th August 2014
MenuItem.ReleaseAll - MenuItem.SetAttributedTitle
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins