Color Select Control Syntax
Syntax
[%P=UI_SELECT_COLOR2( [[[ Default_Color ] %. Width New_Color ]
Arguments
- Default_Color
Character. Optional. A variable containing a default color name.
- Width
Numeric. The width of the control.
- New_Color
Character. The selected color name
Description
This syntax produces a color picker that displays the Alpha Anywhere color palette and returns a color name.
You must not have any space characters in the finished command.
Example
dim default_color as C dim new_color as C default_color="Pink" ui_dlg_box("Title",<<%dlg% [%P=ui_select_color2(default_color)%.20new_color]; %dlg%) ui_msg_box("",""+new_color)
See Also