Subroutines > Detailed Descriptions > MIAMEX

MIAMEX 164: Display Color Selection Dialog

xcall MIAMEX, MX_CHOOSECOLOR, rgb, status

This routine displays the color selection dialog and return the selected RGB value.

Parameters

rgb  (B4 or F6)  [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, build 964

Routine added to A-Shell.