Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Entering into a Grid
Message
De
17/08/1999 13:47:44
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Entering into a Grid
Divers
Thread ID:
00254591
Message ID:
00254591
Vues:
60
I would like to disply information in a grid with the ability to enter into only one of the columns in the grid. Once I press enter after keying in the value I want the focus to stay in the column and move down to the next row. I tried set enabled = .f. on all the columns except the one I'm entering into and it did not work. Each time I hit enter I move from column to column on the same row eventhough I have code in the lostfocus event of the currentcontrol for the column I'm entering into. The code selects the table that is the recordsource for the grid, skips 1, and sets focus back to the column I want to enter into. When using set step on in the lostfocus event I get it to work, but running it with out the debugger causes the column focus to change.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform