Xbasic

A5_COLOR_PICKER Function

Syntax

Selected_Color as C = a5_color_picker([C style[,C color]])

Arguments

Selected_Color

The numerical value of the selected color.

style

Optional. The way the color value will be specified. "RGB" - indicates that Color will be formatted "n1,n2,n3" or "n1+n2+n3", "HEX" - indicates that Color will be formatted

color

Optional. The initial color value to display. Character

Description

The A5_COLOR_PICKER() function displays the color picker dialog box and returns the value of the selected color. Color picker, style (RGB = comma/plus sign/space separated RGB values, HEX = hexdecimal color).

Example

a5_color_picker("rgb","12,34,56")

Limitations

Desktop applications only.

See Also