Get(HighContrastState)

Returns 1 (true) if high contrast is available and active; otherwise, returns 0 (false).

Format 

Get ( HighContrastState )

Parameters 

None

Data type returned 

number

Originated in version 

6.0 or earlier

Description 

Returns:

  • 0 if the high contrast option (in Windows Settings under Ease of Access) is unavailable or inactive, or if the function is used in macOS.
  • 1 if the high contrast option is available and active.

Notes 

  • This function is not supported and returns an empty string:
    • in FileMaker WebDirect
    • when evaluated by a Linux host