Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Highlighting the current row in grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00358923
Message ID:
00360541
Vues:
8
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform