Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Appending Records in Grid and Setfocus()
Message
De
16/02/1999 14:28:07
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
16/02/1999 14:22:22
Rene De Montbrun
Customer Contact Inc.
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00187925
Message ID:
00188083
Vues:
22
>>>Does anyone know how to set focus to a record that you append to a grid? I am using an Add button with APPEND BLANK and then myGrid.Setfocus().

I usually just do an append blank and then setfocus to the grid, and I'm on the blank record. For a simple example:
append blank
_screen.forms(1).grid1.setfocus()
took me to the bottom of the grid (and the blank record).
Is there something in how your tables are related that's complicating things?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform