Get(ScreenHeight)

Category: Get

Syntax: Get ( ScreenHeight )

Parameters: None

Data type returned: Number

Description:

Returns the number of pixels that are displayed vertically on the current screen. This corresponds to a user's operating system settings for display resolution.

Note when the active window spans more than one screen, this function calculates the value for the screen that contains the largest percentage of the window.

Use Get (ScreenHeight) and Get (ScreenWidth) to check minimum resolution settings on a user's computer.

 If [Get (ScreenHeight)<1200 OR Get (ScreenWidth)<1600]
 Show Custom Dialog ["Resolution";"This application requires a minimum
 of 1600 x 1200 screen resolution."]
 Perform Script ["Close Solution Files"]
 End If

Examples:

Function

Results

Get (ScreenHeight)

Returns 854 on a monitor set to display at 1280x854.






FileMaker 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352
Simiral book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net