Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Row indicator in Grid
Message
From
01/06/1999 09:25:30
Shane Gilbert
Oklahoma State Department of Education
Norman, Oklahoma, United States
 
 
To
28/05/1999 15:30:44
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00224095
Message ID:
00224880
Views:
19
>Hello Friends,
>
>I have read somewhere through which we can highlight current grid row.
>but not sure about it. can you help me ?
>
>thanks
>mark

Add a property to your grid class - nCurrentRecord - or something like that. In the afterrowcolchange function -
dodefault()
this.nCurrentRecord = Recno()

the Init()
Setall('dynamicbackcolor','IIF(nCurrentRecord = Recno(),RGB(255,0,0),this.backcolor','Column')

Change the RGB(255,0,0) to be whatever color you want. Hope this helps.

Shane
--Shane
Previous
Reply
Map
View

Click here to load this message in the networking platform