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.SetSubMenu
Sets the submenu of the menu item.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Menu | 4.1 | Yes | Yes | No | No | No |
MBS( "MenuItem.SetSubMenu"; item; submenu ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| item | The reference to the menu item. Please create one with MenuItem.CreateMenuItem or MenuItem.CreateSeparator. | $item |
| submenu | The reference to the menu. Please create one with Menu.CreateMenu. | $submenu |
Result
Returns OK or error.
Description
Sets the submenu of the menu item.See also MenuItem.GetSubMenu.
See also
- Menu.CreateMenu
- MenuItem.CreateMenuItem
- MenuItem.CreateSeparator
- MenuItem.GetSubMenu
- MenuItem.HasSubmenu
- MenuItem.SetHidden
- MenuItem.SetState
Created 18th August 2014, last changed 31st August 2014
MenuItem.SetStrikeOut - MenuItem.SetTag
Feedback: Report problem or ask question.
Links
MBS Xojo blog