Joshb
New member
- Joined
- Jan 8, 2008
- Messages
- 3
- Programming Experience
- 5-10
Hi. I wondering how to accomplish a small task i'm in need for.
What i have is a Form and a text box control that is disabled. I have my code on the form_keypress to send characters to the disabled text box. This part works fine, my problem is i have another text box thats not disabled but locked, so it takes focus. Doing that i can't set the form to focus without disabling the second text box instead of locking it.
basically... how to i keep focus from text boxes without disabling them?
What i have is a Form and a text box control that is disabled. I have my code on the form_keypress to send characters to the disabled text box. This part works fine, my problem is i have another text box thats not disabled but locked, so it takes focus. Doing that i can't set the form to focus without disabling the second text box instead of locking it.
basically... how to i keep focus from text boxes without disabling them?