Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp 5.0 grid row color change
Message
From
21/02/1997 18:53:32
 
 
To
21/02/1997 18:51:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00021607
Message ID:
00021608
Views:
29
>how can i make the active row of a grid a different color than the other rows?

In the Init() of the grid, do something like this:

DODEFAULT()
This.SetAll('DynamicBackColor','IIF(A=B,RGB(0,255,0),RGB(255,255,0))','Column')
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform