|
Previous Top Next |
Prototype: | (Long pColorValue),String |
pColorValue | Clarion color value |
Returns | String containing the correct html color value as #RRGGBB |
This method takes an ordinary Clarion 24bit color value and turns it into a standard HTML color string in the format '#RRGGBB' See the TestUtilityClass procedure in the Example program
Example:
ITU ITUtilityClass
Col Long
HTMLColor String(7)
Code
If ColorDialog('Select color',Col)
HTMLColor = ITU.ColorToHTML(Col)
?HTMLColor {Prop:FontColor} = Col
Display
End
See also: