General information
Category:
Forms & Form designer
Dear Javier,
My problem was entering data in text fields and after pressing Enter or Tab key going to the left cell instead of right. I did it by calling Grid.ActivateCell(nRow, nCol) in Keypress event of text boxes of every column after detecting that nKeyCode = 13 or nKeyCode = 9 .
But for supporting scrolling grids, I used Grid.Relativecolumn properties and I decreased it for going to the left.
I checked your idea, It's working ! by using the following code in lostfocus event of each text box.
IF LASTKEY() = 13 OR LASTKEY() = 9
This.Parent.Parent.column2.text1.SetFocus
ENDIF
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