Description

Calls the common Windows Color dialog box, shown below:

 

Parameters

ParameterDescription
objectOwner window.
valueColor value then initialize this dialog box or null if operation was canceled.
ReturnvalueSelected color as a decimal number.

See Also

Utility() function, BACKCOLOR propertyFORECOLOR propertyGRADIENTSTYLE 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.