Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine when to use black or white as label forecolor
Message
 
À
13/06/2005 13:51:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01022663
Message ID:
01022938
Vues:
14
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform