SysInfo: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
Line 23: Line 23:
| 109 || screen.availHeight ||
| 109 || screen.availHeight ||
|-
|-
| 188 || Screen.width ||
| 188 || screen.width ||
|-
|-
| 190 || Screen.height ||
| 190 || screen.height ||
|}
|}



Revision as of 09:43, 26 March 2013

SysInfo(number)

Description

SysInfo returns information about the device.

0 Width of screen - actual screen size in Portrait mode SM_CXScreen
1 Height of screen - actual screen size in Portrait mode SM_CYScreen
2 Width of screen in current orientation
3 Height of screen in current orientation
4 Running on a mobile device? True/False
10 Milliseconds since 01/01/70
108 screen.availWidth
109 screen.availHeight
188 screen.width
190 screen.height

Example

Rem SysInfo Example
MsgBox "The device’s DPI is " & sysInfo(188)

Output

The device’s DPI is 96.