Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GRID: After a grid refresh, the record pointer is not on
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00201947
Message ID:
00201966
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform