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
Window.RemoveMenu
Removes the menu on a window.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Window | 3.3 | No | Yes | No | No | No |
Parameters
| 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 |
Result
Returns OK on success.
Description
Removes the menu on a window.You can use this function to remove the FileMaker menu bar.
Examples
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)
See also
Blog Entries
Created 18th August 2014, last changed 14th May 2016
Window.PositionNextDialog - Window.Resizable
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins