Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Entering into a Grid
Message
From
31/08/1999 07:25:27
Rex Mahel
Realm Software, Llc
Ohio, United States
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00254591
Message ID:
00259578
Views:
16
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...
Previous
Reply
Map
View

Click here to load this message in the networking platform