469,929 Members | 1,407 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,929 developers. It's quick & easy.

Setting Tab Index between Panels

Ben
Hi

We have a number of Panels on our windows form, we have controls inside and
outside of the panels.

I am having problems tabbing between controls, it appers to be when the
controls are within panels: It will tab though the controls outside the
panels and then, tab into the panels.

I have also tried setting the tab index at design time.

Any advice would be much appreciated

Thanks
B
Dec 6 '06 #1
1 4604
Lee
Ben:

The Form and the Panels are both containers and each have their own
TabIndex's (and they may overlap).

AFAIK, when tabbing thru a container, first the controls directly on
the container are tabbed thru and then containers within the original
container are tabbed thru; and this process continues thu the
inner-most container.

In your case that means that first the controls on the Form are tabbed
thru and then controls within the Panels.

You will need to set focus programmatically if you need something
different.

--
// Lee Silver
// Information Concepts Inc.

Ben wrote:
Hi

We have a number of Panels on our windows form, we have controls inside and
outside of the panels.

I am having problems tabbing between controls, it appers to be when the
controls are within panels: It will tab though the controls outside the
panels and then, tab into the panels.

I have also tried setting the tab index at design time.

Any advice would be much appreciated

Thanks
B
Dec 6 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Andrew Dalke | last post: by
1 post views Thread by AndrewDucker | last post: by
4 posts views Thread by Chris Ruegsegger | last post: by
3 posts views Thread by tshad | last post: by
2 posts views Thread by SJ | last post: by
3 posts views Thread by Woody Splawn | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.