Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
For some strange reason, tab refuses to work on this one textbox on a specific form. I can tab to the textbox but not out of it. The Accepts TAb as input property is false.

Googling has surprisingly yielded no result regarding this (not counting the Accept tab property).

Any ideas?
Posted

Make sure you've specifically set your tab order on all controls in the form and see if it fixes it.

It might be that you've written some code for the control to prevent the tab key from working.
 
Share this answer
 
I did, all controls have specific tab orders and the only thing that I can think of that remotely touches on this with a proverbial 10' pole is when I change the UI Input language which I believe is the cause because every other textbox on that form that has its UI changed is suffering from the same thing.

Its interesting to note that the change is done in a Utility class and is used by about 60 other forms (no exaggeration on the number). So why this specific form?

==========

From JSOP: It could be that a property needs to be set that you aren't setting in the form with the problem. If it works in all other forms, I'd start by comparing the constructor, the Load event handler, and the Shown handler (if it's got one) of your problem form to a form that works correctly.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900