Product Logo

CNS Image

Import, edit, and export Images in the FileMaker environment

Functions

CNSImage_ShowColorPicker

NameCNSImage_ShowColorPicker
Description

This function will show the system Color Picker allowing the user to select a color from it. It returns the HexColor representation of the chosen color. To start the Color Picker with a specific color, specify the StartHexColor parameter. If the user cancels the Color Picker, the StartHexColor is returned if it was specified, otherwise it returns nothing.

Return TypeText (HexColor)
FormatCNSImage_ShowColorPicker ( StartHexColor )
Optional Parameters
StartHexColor

The initial Color for the Color Picker dialog.

Example
Example 1

Shows the system Color Picker dialog starting with a Cyan color.

CNSImage_ShowColorPicker( "00FFFF" )