Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RGB(r,g,b) == x
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
RGB(r,g,b) == x
Miscellaneous
Thread ID:
00586236
Message ID:
00586236
Views:
46
Greetings my friends. :)

One more of those tiny easy questions:

?RGB(150,120,0) returns 30870. No problem.

But, how can I get the RGB components from 30870?

I want to do something like :

x = Form.BackColor

RedComponent = RED(x)
GreenComponent = GREEN(x)
BlueComponent = BLUE(x)

Any help is welcome.

TIA

Alonso
Like Frank said: "I did it... MY WAY!"
Next
Reply
Map
View

Click here to load this message in the networking platform