guides:programming:programmers_reference_manual:choosecolor_service

CHOOSECOLOR Service

Calls the common Windows Color dialog box, shown below:

ParameterDescription
objectOwner window.
valueColor value then initialize this dialog box or null if operation was canceled.
ReturnvalueSelected color as a decimal number.\\
* 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
  • guides/programming/programmers_reference_manual/choosecolor_service.txt
  • Last modified: 2024/10/14 18:18
  • by 127.0.0.1