All functions   Mac OS X   Windows   Crossplatform   Components   New in version: 1.0   1.1   1.2   1.3   1.4   1.5   1.6   1.7   1.8   2.0  

Screen.Top

Component: Screenshot
Mac OS X: Works
Windows: Works

MBS( "Screen.Top" ; Screen ID )

Parameters

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

Description

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.

Examples

Get the first screen's co-ordinates

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

Feedback: Report problem or ask question.