Get(HighContrastState)

Category: Get

Syntax: Get ( HighContrastState )

Parameters: None

Data type returned: Number

Description:

Windows only: Returns a number representing the state of the Use High Contrast option in the Accessibility Options control panel.

Returns:

0 if Use High Contrast is unavailable, inactive, or if the function is used on the Mac OS.

1 if Use High Contrast is available and active.

Examples:

If you have users with impaired vision, you might create alternate versions of your layouts that are easier for them to use. If so, you can test in your navigation scripts whether Use High Contrast is active and go to an appropriate layout or zoom the window.

 If [ Get (HighContrastState) = 1 ]
 Go to Layout ["ContactDetail (HC)"]
 Else
 Go to Layout ["ContactDetail"]
 End If






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