Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid setfocus
Message
From
07/03/2007 08:53:47
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
 
To
07/03/2007 08:48:16
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01201439
Message ID:
01201450
Views:
32
>>Hi all,
>>I have a form with a grid on it.
>>I select a row from grid, I edit some data in textboxes on the form and save them.
>>In the last line of my save code I put below line:
>>Thisform.grid1.setfocus
>>But cursor goes into the last row in grid.
>>How I can return to same row that I edit it?
>
>You should move pointer in the grid.recordsource to the row you want. It's usually done by Seek() right before Setfocus.

thank you very much
Previous
Reply
Map
View

Click here to load this message in the networking platform