Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RGB ?? GETCOLOR() ??
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00470637
Message ID:
00470643
Views:
41
>Does anyone know how to get the numeric equivilent to the RGB()results.I have a table that I am storing the returmed value From the getcolor(). However when I use it the activex control iam useing needs it in the RGB() format

Dan,

You can do it mathematically, but, as you might be able to tell I prefer to use Foxtools for this.
= RGBComp(nRGBColor, @nRedVal, @nGreenVal, @nBlueVal)
Of course, this assumes that the library is loaded. < Wonders how many more questions to-day can be answered by Foxtools< s > >
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform