MIAMEX 164: Display Color Selection Dialog

xcall MIAMEX, MX_CHOOSECOLOR, rgb, status

MX_CHOOSECOLOR displays the color selection dialog and return the selected RGB value.

Parameters

rgb  (B,4 or F,6)  [in/out]

The RGB color value. On input, it determines the default color selected in the dialog; on output it returns the newly selected color.

status  (F)  [out]

is 0 for OK, or else indicates an error. Executing this function in a non-GUI environment should return -1.

History

2006 August, A-Shell 4.9.964:  Routine added to A-Shell.