G
Guest
I have a Form.control, a textbox in a form. Initially, the control has
forcus. However, after user click this control, I need to insert something
into the textbox, which caused the losing forcus of control, and obtaining
forcus for the textbox.
Is there a property or method I can use to keep the forcus in control? I
want to catch the KeyDown or KeyPress event for this control. However it is
not stopping at the breakpoint due to losing forcus.
Any solution is highly appreciated.
forcus. However, after user click this control, I need to insert something
into the textbox, which caused the losing forcus of control, and obtaining
forcus for the textbox.
Is there a property or method I can use to keep the forcus in control? I
want to catch the KeyDown or KeyPress event for this control. However it is
not stopping at the breakpoint due to losing forcus.
Any solution is highly appreciated.