Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid setfocus
Message
De
07/03/2007 08:48:01
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/03/2007 08:40:01
Reza Meamar
Homa Programming Group
Shiraz, Iran
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:
01201445
Vues:
43
>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?

Save and go to edited one by primary key or recno. If you're using tableupdate() on a table buffered table then record pointer would move to end.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform