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:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.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)
Created 18th August 2014, last changed 14th May 2016
Window.PositionNextDialog - Window.Resizable
Feedback: Report problem or ask question.