Tags:

ColorPicker

ColorPicker allows you to choose a color visually or enter its RGB or hex value to see its visual representation. You can click on a position within a color wheel and read the corresponding color value, click on a position within the shades of that color to fine-tune the color you want and read its value, or enter an RGB or hex value to see the corresponding color.

ColorPicker( "ColorFieldName" {; "BackgroundColor" ; "HexOrRGB" ; "HideText" } )


Parameters

1 ColorFieldName Field holding the color value selected. Must be enclosed in quotes and be the fully-qualified Table Occurrence::FieldName form.
2 BackgroundColor
(opt)
Default is white, but you can specify the color: see “Background Color” in the “Basics” section.
3 HexOrRGB
(opt)
"Hex" or "RGB" (the default), depending on the format you want for display of the color value.
4 HideText
(opt)
Text or name of a field containing "true" or "false" (the default). Not case-sensitive. False will display the color value; true will hide it.

Examples:
  • ColorPicker( "Home::ColorSelected" ; "RGB( 0,100,0)" ; "RGB"; "false" )
  • ColorPicker( "Home::ColorSelected" )
  • ColorPicker( "Home::ColorSelected"; "#ffedbc"; ""; "true" )

Table of Contents