General information
Category:
Forms & Form designer
>How do I set the focus to row 1 column 1 in a grid? The cell which gets the focus now, is the cell which last had the focus on the previous record.
I use this
thisform.grid1.SetFocus()
*-- put the focus on the first column of the line just added
thisform.grid1.ActivateCell(thisform.grid1.ActiveRow,1)
You may or may not need the first line.
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