General information
Category:
Object Oriented Programming
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only