I am working on a program which has many textboxes on one form. I know how to assign handles to subroutines which will make all the required textboxes call the same subroutine when clicked on.
My question is when one of the textboxes is clicked on - how do you pass the name of the textbox that was clicked on to the subroutine?
I am doing it now with a IF - FOCUSED line in the subroutine for each and every textbox however this creates a lot of code and I believe there has to be a better way.
Thanks
My question is when one of the textboxes is clicked on - how do you pass the name of the textbox that was clicked on to the subroutine?
I am doing it now with a IF - FOCUSED line in the subroutine for each and every textbox however this creates a lot of code and I believe there has to be a better way.
Thanks