Language Reference Guide : System Classes : ProcExec Class : ChooseColor Method
 
Share this page          
ChooseColor Method
The ChooseColor method displays an RGB color selection dialog box. This dialog lets you select a color by clicking on a sample color.
This method has the following syntax:
integer = ProcExec.ChooseColor(RGBColor = byref(integer));
This method has the following parameter:
RGBColor
Specifies the current RGB color value. It contains the new RGB color value when the user clicks OK.
The method returns PU_OK if the end user clicks OK, or PU_CANCEL if the user clicks Cancel.
Descriptions of system constant values and their numeric equivalents are listed in Pop-up Reply Codes.