all groups > vb.net controls > october 2004 >
You're in the

vb.net controls

group:

tabbing out of a container


tabbing out of a container rejirajan NO[at]SPAM gmail.com
10/19/2004 6:40:29 AM
vb.net controls: I have a vb.net form with several controls(textboxes, comboboxes,
buttons) grouped in several groupboxes and panels. Once I tab into a
panel or groupbox, the tabbing cycles in that groupbox or panel
(container). Is there any way I can tab out of a textbox in a panel to
another textbox in another panel easily (without using leave event of
a control)?

tabbing out of a container anonymous NO[at]SPAM discussions.microsoft.com
10/22/2004 1:00:14 PM
Set TabIndex

[quoted text, click to view]
Re: tabbing out of a container rejirajan NO[at]SPAM gmail.com
10/24/2004 1:39:30 PM
Let me explain my problem a little more. I have a form with 2
groupboxes, each having several textboxes and labels. The form also
has labels, textboxes and button controls outside the groupboxes. Now
I want the tab order to go to 2 textboxes in the form, then to the
textboxes in groupbox1, then to textboxes in goupbox2, and then to the
buttons which are outside groupboxes just on the main form. Setting
the tabindex will only help to cycle in the main form, or enter the
groupbox only after visiting all the controls in the mainform,
eventhough some of those controls on the main form might have a higher
tabindex than the controls in the groupbox.

In VS.Net 2002 the tabbing seems to cycle. In vs.net 2003, the tab
order doesn't work well as intended when there are controls in
groupboxes or tabcontrol pages. Is there any setting that I am unaware
of?

AddThis Social Bookmark Button