Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine Contrasting/Inverse Colors
Message
From
23/05/2009 09:37:33
 
 
To
22/05/2009 19:41:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01401618
Message ID:
01401639
Views:
54
>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.

Check whether the DrawMode property offers you anything here.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform