General information
Category:
Forms & Form designer
Hi Eddie.
I would like to place code in the click method of the command buttons
to set the focus back to the row that the user was on before he hit the command button.
Unless something has changed the position of the record pointer in the grid's RecordSOurce, you get this behavior for free - no code required - just by setting focus to the grid.
You do not want to be messing around with the grid's ActiveRow porperty because it is painfully slow. If something is changing the record pointer, just save the record number somewhere and go back to the record before setting focus to the grid.
Previous
Next
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