Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement