Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getcolor() rgb value
Message
From
19/06/2000 11:12:34
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00381768
Message ID:
00381780
Views:
15
Larry/George,
Thanks.

>>Is there a way in VFP to convert the GetColor() value to RGB values?
>
>nColor = GetColor()
>Blue = int(ncolor/256^2)
>ntemp = mod(ncolor,256^2)
>Green = int(ntemp/256)
>Red = mod(ntemp,256)
ramil
~~ learning to stand still
Previous
Reply
Map
View

Click here to load this message in the networking platform