You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.

  • No labels