Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid column dynamicbackcolor and selecteditembackcolor
Message
 
To
02/09/2005 16:03:06
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01046391
Message ID:
01046394
Views:
34
Hi Tracy,

Check out the code in my GridHighlighter. It has an option for such situation, and uses different highlight color when the highlight bar goes over already colored record.
It might hel you.

>I have successfully set the background color of a single cell based on conditional checks. However, if the current row in the grid has a special dynamicbackcolor in a cell and the row is also the currently selected row, the dynamicbackcolor is not visible because the highlight covers it.
>
>For instance, if I set the background of the 2nd column to yellow because the field's value meets a certain condition, but then that row in the grid is selected and the selecteditembackcolor is blue, then the entire row becomes blue and the yellow is not visible. Anyway to display the underlying dynamicbackcolor if it is anything other than RGB(255,255,255) ON TOP OF THE selecteditembackcolor so it is visible when the row is also the selected row?
>
>TIA,
>Tracy
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform