Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Entering into a Grid
Message
De
31/08/1999 07:25:27
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00254591
Message ID:
00259578
Vues:
17
Try KEYBOARDing a DownArrow instead of skipping in the table.

HTH

Rex

>>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.
>
>Try ActivateCell method instead of set focus - should work better...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform