Reference > Functions reference > Get functions > Get(ScreenDepth)
 

Get(ScreenDepth)

Returns the number of bits needed to represent the color or shade of gray of a pixel on the main screen.

Format 

Get(ScreenDepth)

Parameters 

None

Data type returned 

number

Originated in 

FileMaker Pro 6.0 or earlier

Description 

A value of 8 represents 256 (equal to 28) colors or shades of gray.

Notes 

In FileMaker WebDirect, this function is not supported and returns 32.

Example 1 

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

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

Returns 4 on a VGA display.

Returns 1 on a black-and-white display.

Related topics 

Functions reference (category list)

Functions reference (alphabetical list)

About formulas

About functions

Defining calculation fields

Using operators in formulas