Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid behaviour.
Message
 
À
23/05/2003 14:16:22
John Vlahos
V I Software Solutions Design
Mississauga, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00792348
Message ID:
00792478
Vues:
12
try
lnRecno=RECNO('myfile')
DO FORM AnotherForm with lnRecno
GO lnRecno IN myfile
thisform.grid.column1.SetFocus()
you may need to use keys if you are doing a requery of your view.

Geoff

>I have a grid list which displays a local view.
>These are the settings of some of the properties of the grid:
>
>DeleteMark = .F.
>AllowAddNew = .F.
>ReadOnly = .T.
>RecordMark = .F.
>SplitBar = .F.
>
>I also have several command buttons below the grid one of which is an "Edit button". When clicking on the 'Edit' command button, I pop up "Edit" screen with DO FORM.... and I allow and edit of the fields of the current record the user is on within the grid. I issue a TABLEUPDATE() command to save changes and Refresh() the grid to display the modifications.
>
>My problem is that my grid record pointer goes back to the top of the grid (beginning of the local view). I wish that the pointer stay on the record the user selected without automatically moving to the top.
>
>Is there a way of achieving this?
>
>Thanks to all!
May all your weeds be wildflowers
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform