I have code that runs on the keydown event of a textbox if the key stroke is the Enter key. The problem is that once my code is run I want the focus to come back to this same textbox and the textbox be empty and ready to receive keystrokes again. I can use the SetFocus command and even clear out the text box, but the mouse cursor is still sitting on a different textbox. Using the SelStart option doesn't work either. How do I get the mouse cursor to return to the textbox that is supposed to have the focus?
8/22/2022 - Mon
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat