Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine when to use black or white as label forecolor
Message
 
To
13/06/2005 13:51:59
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01022663
Message ID:
01022938
Views:
15
This message has been marked as a message which has helped to the initial question of the thread.
>> I use the Hue trick to highlight the selected record in a grid when the backcolor depends on the records, for example some records are red-ish some are green-ish etc, the to highlight the current color I change the HUE to make the selected record brighter.
>
>What a great idea! I always wondered how some applications managed to do this.
>
>Thanks again for your help, Hugo!
>
>Malcolm

Sorry, I just checked my code and I do not adjust the Hue but the luminosity
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform