Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids - setting the focus within
Message
De
01/07/1999 20:47:46
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00236775
Message ID:
00236780
Vues:
14
>I have a grid with a button below to add new rows to the grid. When the user clicks on the button the new record is created and the cursor should be sitting on the first cell of the new record. I can get the cursor to move to the first cell, but always of an existing record. The data temporarily gets a bit scrambled too.
>
>I've tried grid.activatecell but that does some strange things, not least suppress the visibility of the new record until the user mouseclicks the grid.
>
>Any ideas where I've gone wrong?
>
>Sarah

APPEND BLANK
THISFORM.Grid.Refresh()
THISFORM.Grid.SetFocus()

does it for me.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform