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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Removes the menu on a window.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Window | 3.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example |
---|---|---|
WindowRef | Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. | 0 |
Mode | Can be 1 to remove menu entries instead of whole menu. That may be more permanent and allows you to get back invisible menu when you switch to layout mode and back. Default value 0 unassigns menu from Window. |
1 |
Returns OK on success.
Remove menu:
$h = MBS("Window.FindByTitle"; "FileMaker Pro Advanced")
$r = MBS("Window.RemoveMenu"; $h)
Clear menu entries:
$h = MBS("Window.FindByTitle"; "FileMaker Pro Advanced")
$r = MBS("Window.RemoveMenu"; $h; 1)
This function checks for a license.
Created 18th August 2014, last changed 14th May 2016