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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tab Help in VB.net 1

Status
Not open for further replies.

RoguePoet01

Programmer
Oct 1, 2003
302
US
Hi,

For some reason the tab routine is different in VB.net that it was in VB6.

I have a textbox with a tabstop index of 5

I have a button with a tabstop index of 6

Yet when I press tab, the focus is sent back
to the textbox with a tabstop index of 0.

Why?

Help if you can, and thanks.
 
The property you want is tabindex. TabStop is a property which says whether a particular control should accept the tab. Maybe it is set to false for one of the controls.

In VS.net, you can just do View, TabOrder, to see all the tab indices for controls on a form. Unfortunately, this view still does not show you if any of the controls have tab stop turned off.



Mark [openup]
 
Thanks, the "View, TabOrder" thing is what I was looking for. It tabs controls within groupboxes, which is where the problem was.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top