Please enable JavaScript to view this site.

A-Shell Consolidated Reference

Navigation: Subroutines > MIAMEX

MX_CHOOSECOLOR

Scroll Prev Top Next More

xcall MIAMEX, MX_CHOOSECOLOR, rgb, status

MX_CHOOSECOLOR  (MIAMEX 164) displays the color selection dialog and returns the selected RGB value.

Parameters

rgb  (B,4 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.