Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1    Statistic  

Screen.Top

Queries screen position.

Component: Screenshot
Version: 1.0
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: No

MBS( "Screen.Top"; Screen ID )

Parameters

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

Description

Queries screen position.
Returns the Top coordinate of the screen indicated by the Screen ID parameter 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.

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.Left   -   Screen.Width

Feedback: Report problem or ask question.




Links
MBS Realbasic Plugins - Nachhilfe Nickenich