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: 11.3   11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5   13.0    Statistic    FMM    Blog  


Queries window's toolbar height.

Component Version macOS Windows Linux Server iOS SDK
Window 8.3 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Window.TopHeight"; WindowRef { ; WithFrame } )   More


Parameter Description Example Flags
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
WithFrame Whether to include frame on Mac.
Pass 1 to include frame. Default is 1 to include it.
0 Optional


Returns number or error.


Queries window's toolbar height.
This is the height for any toolbars between content and the window top border.

On MacOS without frame, the top height is for example about 50 pixels for two toolbars in the window. With Frame, you include 81 pixels for toolbar and window title. So top height can be 131 as an example.

Ruler is not included in that height, as it's part of FileMaker's content.

See also

Release notes

Blog Entries

Created 5th June 2018, last changed 14th July 2018

Window.ToggleFullScreen - Window.Update

Feedback: Report problem or ask question.

Start Chat