Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid setfocus
Message
De
07/03/2007 08:53:47
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
 
À
07/03/2007 08:48:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Divers
Thread ID:
01201439
Message ID:
01201450
Vues:
30
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform