Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlighting the current row in grid
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00358923
Message ID:
00360541
Views:
12
>Erik:
>
>Last week we were talking about the problems I was having with a row highlight grid class I was developing. When records are added, each new record stays highlighted. Well, it turns out to only apply when buffering is on. I'm thinking when the grid refreshes and it compares thisform.currec to recno() in the dynamic color properties, the negative record numbers in the new record buffers are somehow not evaluating properly. Weird.
>
>Charlie

Funny, my base grid class implements this functionality and never has a problem. All of my data forms use buffering.

FWIW, I can get the same behavior you describe by removing the call to Grid.Refresh() in the AfterRowColchange event.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform