Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TabIndex not correct

Status
Not open for further replies.

one234

IS-IT--Management
Mar 8, 2003
728
GB
Hello All,

I'm playing around in VB.NET and I'm trying to make a VB.NET Windows App.

I made a form with some textboxes on it. I've set the tab index to go from top to bottom, but when I press TAB it doesn't follow the defined tab order...

Does anybody have a solution for this?? I also tried to set the tab index in code, in the Load sub, but it still doesn't follow the defined tab order...

THX in advance

Marc D.
 
Not sure if this will help. But the tab index in VB.net is Zero based, so if you try to start with a 1, it is going to start at the control with Zero. Also, because tab indexes are not renumered automatically, you could end up with multiple controls with the same index, be shoure to check for this as well.


Becca

Somtimes, the easy answer is the hardest to find. :)
 
Hi Becca,

I renumbered the index and started with 0. And the problem is still there...

Marc D.
 
Did you double check to make sure you do not have double tab index numbers on any other controls?

Becca

Somtimes, the easy answer is the hardest to find. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top