Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get color and save to a config file
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Get color and save to a config file
Miscellaneous
Thread ID:
01672356
Message ID:
01672356
Views:
50
Hi,

What is a good practice to allow user to select colors?
1. I can use GetColor() and save the returned number to a configuration file and then use it. But I don't like this approach since I cannot understand the number and manually change it to something I understand.
2. If possible to convert the color number returned from the GetColor() to a RGB() value, then I could save this value to a configuration file. But I don't know how to convert the number into the RGB() value. Please let me know if it is possible and how.
or if it is simply better to get the RGB value and save it to the configuration.

TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform