Category: Get

Syntax: Get ( ScreenDepth )

Parameters: None

Data type returned: Number


Returns the number of bits needed to represent the color or shade of gray of a pixel on the user's monitor. A value of 8 represents 256 (equal to 2^8) colors or shades of gray.

Use Get (ScreenDepth) to alert users if their monitor color settings are set too low to view images correctly. For example,

 Show Custom Dialog ["Color";"Your monitor should be set to "Millions
 of colors" to display images correctly"]
 End If




Get (ScreenDepth)

Returns 32 on a display showing millions (2^32) of colors.


Returns 16 on a display showing thousands (2^16) of colors.


Returns 4 on a VGA display.


Returns 1 on a black-and-white display.

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 © 2008-2017.
If you may any questions please contact us: