Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using gridhighlighter on 2 grids
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00521573
Message ID:
00522067
Vues:
10
>>What about if a grid was highlighted, then I requery and there are no records in the grid so the highlight disappears, then I requery again and records appear again and so does the highlight, but now the record is pointing at the top and the highlight has stayed in orginal position (lets say on third row). This seems to confuse my users, is there a way to have the highlight automatically go to top? Again, great program, Definitely made my life easier.
>>
>>Thanks
>>Nick Patel
>
>After you make your requery, explicitly call thisform.grid2.AfterRowColChange().
>This would do it.

Right. If you programmatically move the record pointer, the grid does not know anything about this until it gets focus (and AfterRowColChange() fires) or you explicitly call AfterRowColChange(). Only then the Dynamic... expressions will be evaluated and higlight will move.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform