Tab index skips control

S

Scientific

Hello,

I have 15 controls on a form (I know, it's a lot) and the order is correct
on all but Access skips #12 as though is doesn't exist. I opened the Tab
Order window and everything looks correct, but when I tab through the
controls in form view it always jumps pass #12 and lands on #13. Really weird.
 
D

Dirk Goldgar

Scientific said:
Hello,

I have 15 controls on a form (I know, it's a lot) and the order is correct
on all but Access skips #12 as though is doesn't exist. I opened the Tab
Order window and everything looks correct, but when I tab through the
controls in form view it always jumps pass #12 and lands on #13. Really
weird.


Check that errant control's Tab Stop property. If it is set to No, that
would be the reason. All controls that can receive the focus have a Tab
Index, but only those with Tab Stop set to Yes will be part of the tab
cycle.

If you find that the Tab Stop property is set to Yes, then check the
control's Enabled property. If it's not enabled, it can't get the focus.
 
S

Scientific

Dirk,

I checked the control's Tab Stop property and sure enough it was set to no.
I set it to yes and everything is fine now. Thank you very much Dirk for
your reply and your solution. I should have noticed that :0-)

-S
 
T

Tony Toews [MVP]

Scientific said:
I have 15 controls on a form (I know, it's a lot)

Not really. Although that would be more the exception. I do have
some forms with over 100 controls on them.

Tony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top