Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Screen.Top
Queries screen position.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Screenshot | 1.0 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
MBS( "Screen.Top"; Screen ID { ; Unit } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
Screen ID | The zero based index of the screen to to target. | 0 | |
Unit | Available in MBS FileMaker Plugin 15.0 or newer. Can be point or pixel or empty. Default is pixel on Windows and point on macOS/iOS. |
"Point" | Optional |
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.
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
Release notes
- Version 15.0
- Added Unit parameter to Screen.Height, Screen.Left, Screen.Top and Screen.Width functions.
Example Databases
Blog Entries
This function checks for a license.
Created 18th August 2014, last changed 22nd November 2024
