Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

Screen.Width

Queries screen width.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Screenshot 1.0 Yes Yes Yes No No

MBS( "Screen.Width"; ScreenID )

Parameters

Parameter Description Example value
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. 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.

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


Screen.Top   -   Screenshot

Feedback: Report problem or ask question.




Links
MBS FileMaker blog