Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Highlighted Row Color
Message
From
12/04/2008 07:02:19
 
 
To
11/04/2008 18:32:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01310115
Message ID:
01310157
Views:
22
Is there any way to make the highlited colors of a grid match the dynamic colors? The idea is that the colors don't change when you click on a row of the grid.

Add a custom method to your grid called MaintainDynamicColors and call it from the Init() and the AfterRowColChange. This code in your method:
IF << Condition for Dynamic BackColor >>
  THIS.HighlightBackColor = EVALUATE(THIS.<< Whatever Column >>.DynamicBackColor)
 ELSE
  THIS.ResetToDefault("HighlightBackColor")
ENDIF
Previous
Reply
Map
View

Click here to load this message in the networking platform