Finding the previous active control on a form

lundi 2 mars 2015

Hi



I have a form where the user clicks a button (button 1) to open a modal form, the user then enters data into this form and clicks close.



Then back in the first form I need to find which control had focus before (button 1) was clicked.



Screen.PreviousControl returns a control on the modal form.



I hope its easy like Forms!FirstForm.PreviousControl but I can't seem to find it!



Thanks

Finding the previous active control on a form

0 commentaires:

Enregistrer un commentaire

Labels