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.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

Screen.Width

Queries screen width.

Component Version macOS Windows Linux Server iOS SDK
Screenshot 1.0 ✅ Yes ✅ Yes ❌ No ❌ No ✅ Yes
MBS( "Screen.Width"; ScreenID )   More

Parameters

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

Description

Queries screen width.
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.

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

Examples

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 20th November 2020


Screen.Top - Screenshot

Feedback: Report problem or ask question.