Hello,
I have a form with 24 textboxes and I wish to grab the name of the textbox that currently has the focus by using Screen.ActiveControl.Name. Instead of calling a function to get this information by creating all 24 textbox OnGotFocus events, is there a way to trigger the function under one event. Basically, I want to save the name of the textbox when the user places the cursor in it with as little code as possible. Thanks!
themach
I have a form with 24 textboxes and I wish to grab the name of the textbox that currently has the focus by using Screen.ActiveControl.Name. Instead of calling a function to get this information by creating all 24 textbox OnGotFocus events, is there a way to trigger the function under one event. Basically, I want to save the name of the textbox when the user places the cursor in it with as little code as possible. Thanks!
themach