Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Re: Grid
Divers
Thread ID:
00018248
Message ID:
00018293
Vues:
40
>I have a grid on a form. There are 9 fields. Not all of the fields have a value. I put an add button to add another record and it works great. the problem is when the user hits the add buttom the grid does not go to where the user needs to be. Instead it goes to the last column the user was, and not the first column. In other words if He/She was in the 3ed column and hit the add button than after hitting the tab key He /She would be at the new record but only at the 3ed column. Please help. Thanks.

You can get the row number with

nRow = thisform.grid.activerow()

and then put this plus your column number into the ACTIVATECELL() method,
thisform.grid.activatecell(nRow, nCol) where nRow is the row found above and nCol is the column you want the user to start with.

Barbara P.
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform