Description
Calls the common Windows Color dialog box, shown below:
Parameters
Parameter | Description |
---|---|
object | Owner window. |
value | Color value then initialize this dialog box or null if operation was canceled. |
Returnvalue | Selected color as a decimal number. |
See Also
Utility() function, BACKCOLOR property, FORECOLOR property, GRADIENTSTYLE property
Example
* Set the color for CtrlEntID Color = Get_Property(CtrlEntID, "BACKCOLOR") Parent = CtrlEntID [1,"."] Color = Utility("CHOOSECOLOR", Parent, Color) if len(Color) then Call Set_Property(Parent, "BACKCOLOR", Color) end
Remarks
For more information about CHOOSECOLOR, refer to the descriptions of the BACKCOLOR and FORECOLOR properties in Chapter 4: Properties.