Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlight entire row in grid
Message
From
09/09/1999 15:52:11
 
 
To
09/09/1999 15:26:44
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00263093
Message ID:
00263119
Views:
29
I think this is what you are looking for. I pulled this from the Microsoft KB #Q130458.

Place the following code in the grid's INIT event:
PUBLIC grno
grno = RECNO()
THIS.setall("Dynamicbackcolor", ;
"IIF(RECNO()=grno,RGB(64,128,128),RGB(255,255,255))","Column")

Place the following code in the grid's AfterRowColChange event:
LPARAMETERS nColIndex
grno = RECNO()
THIS.Refresh()

This will change the row to a green background.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform