Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending instructions to MS Outlook
Message
From
09/05/2005 10:01:24
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01012145
Message ID:
01012158
Views:
26
>>For question no. 2, I made this function
>>Function getwebcolor
>>Return Substr(Transform(GetColor(),'@0'),5)
>>So to convert a numeric color value into hex, you can use
>>lcHexColor=Substr(Transform(lnColor,'@0'),5)
>>
>
>Tore,
>
>It would be BGR instead of RGB.

Thank you for reminding me, I really knew that, but I hd forgotten. I catually posted an early, non-functional draft, because I did not have the fixed version on this computer. The fact that the function gave the wrong values, had gone into oblivion. Where's that hole in the ground when you need it?
Previous
Reply
Map
View

Click here to load this message in the networking platform