Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4    Statistic  

Screen.Scale

Queries scale of screen.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Screenshot 9.2 Yes Yes Yes No Yes
MBS( "Screen.Scale" { ; Screen ID } )   More

Parameters

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

Result

Returns number or error.

Description

Queries scale of screen.
Normal screens have 1, retina screens have 2 and on iPhone some have even 3.
Windows has same scale factor for all screens, which can be fractions like 1.5.

Blog Entries

Created 21st March 2019, last changed 15th July 2019


Screen.Left   -   Screen.Top

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins