Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine Contrasting/Inverse Colors
Message
De
22/05/2009 19:41:12
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Determine Contrasting/Inverse Colors
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01401618
Message ID:
01401618
Vues:
133
I need to be able to determine the forecolor when a user selects the backcolor. This is to be able to display the text as readable based on what the backcolor is. Just taking the inverse color works for the outer color spectrum but when it is in the middle this does not work well.

Does anyone have any ideas on how to calculate the best readable forecolor based on the backcolor setting? Thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform