Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Focus to first cell in grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00262413
Message ID:
00262418
Vues:
10
>How do I set the focus to row 1 column 1 in a grid? The cell which gets the focus now, is the cell which last had the focus on the previous record.

I use this

thisform.grid1.SetFocus()
*-- put the focus on the first column of the line just added
thisform.grid1.ActivateCell(thisform.grid1.ActiveRow,1)

You may or may not need the first line.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform