G
Guest
How do I use VB code to return the name of the object on a form that has the
focus?
I each text box on my form to highlight when the user selects it, and return
to a white background when the user selects the next text box. I know that I
could create code for each text box on Got Focus and Lost Focus, but I am
trying to see if I can do it with less code. Is there a function/method that
returns the name of the the object on a form that has the focus?
focus?
I each text box on my form to highlight when the user selects it, and return
to a white background when the user selects the next text box. I know that I
could create code for each text box on Got Focus and Lost Focus, but I am
trying to see if I can do it with less code. Is there a function/method that
returns the name of the the object on a form that has the focus?