Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  


Queries screen height.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Screenshot 1.0 Yes Yes Yes No Yes
MBS( "Screen.Height"; ScreenID )   More


Parameter Description Example value
ScreenID The zero based index of the screen to to target. 0


Queries screen height.
FileMaker's built in functions for returning related information only works for the "desktop" and may include more than one screen in a Multiple monitor situation. Also Get(WindowDesktopHeight) returns the height of the desktop not the height of the monitor. The desktop height does not include the height of the menu. Unlimited monitors are supported on Macs. Only one monitor is supported on PCs.

For version 7.1 we added support for multiple monitors for Windows.


Get the first screen's co-ordinates

MBS( "Screen.Left" ; 0 ) & "' " &
MBS( "Screen.Top" ; 0 ) & "' " &
MBS( "Screen.Width" ; 0 ) & "' " &
MBS( "Screen.Height" ; 0 )

See also

Created 18th August 2014, last changed 12nd July 2018

Screen.DockWidth   -   Screen.Left

Feedback: Report problem or ask question.

MBS Xojo Plugins