Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
MenuItem.CreateSeparator
Creates a new separator menu item.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Menu | 4.1 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "MenuItem.CreateSeparator" )
Parameters
none
Result
Returns menu item reference or error.
Description
Creates a new separator menu item.You later need to release it with MenuItem.Release.
Menu item reference numbers are starting at 11000 and counting up for each new menu item.
Examples
Add a separator to a menu:
Set Variable [$item; Value:MBS("MenuItem.CreateSeparator")]
Set Variable [$r; Value:MBS("Menu.AddItem"; $menu; $item)]
See also
- MenuItem.SetOnStateImage
- MenuItem.SetRequireOption
- MenuItem.SetRequireShift
- MenuItem.SetSelectable
- MenuItem.SetState
- MenuItem.SetStrikeOut
- MenuItem.SetSubMenu
- MenuItem.SetTag
- MenuItem.SetTitle
- MenuItem.SetUnderline
Example Databases
FileMaker Magazin
This function checks for a license.
Created 18th August 2014, last changed 15th April 2015