Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert RGB INTO Hexa Value
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01240526
Message ID:
01240531
Views:
20
>Hi Naomi,
>
>Thank for your answer But I' m Sorry , i don't understand....:)
>
>I Have a RGB() Value and I want something such 0xC0C0C0
>
>I hoop that it is faster...??
>
>bernhart
>

What exactly is the purpose? Where do you need to use HEX re-presentation of the color?

RIGHT(TRANSFORM(lnColor, '@0'),6) gives you what you want. How many cases did you test?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform