Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GRID: After a grid refresh, the record pointer is not on
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00201947
Message ID:
00201966
Vues:
14
>Hi Eric,
>
>>Unless I clic on the grid header, the record pointer doesn't show on the screen. How can I show my current record?
>
>If that happens after you moved the record pointer, etc. call the SetFocus() method of the grid (not from within the After/BeforeRowColChange event). If you don't see the current record at all, the RecordMark property is probably set to .F.
>
>Christof
Yes, the grid.setfocus() resolve the problem but...

THis is the exact situation: I have a textfield where the user can enter data. In the valid method of this textfield, I seek the record in the grid and I do a refresh of the grid.
1) If possible, I would like to avoid the grid.setfocus() because I want to keep the user in the textfield outside the grid.
2) If not, it seems that I cannot put a grid.setfocus() command in my textfield.valid. So where should I put it?


Gracias.
Eric.
Eric Crespin
Consultant
PC PLUS Software Inc.
www.pcplus.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform