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
2.1
2.2
2.3
2.4
2.5
Screen.Top
Component: Screenshot
Version: 1.0
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
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.
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.
Loading
Links
MBS Realbasic tutorial videos - Bilder aus Nickenich