Tab Order

J

JB

I am using a PPC2003 device, .NET Framework 2.0 and VS 2005.

I have a bunch of panels placed on a form and each panel has it's Dock
set to Top, thus allowing all the control to shift down when any panel
above it is resized at runtime.

My problem is the tab order. I can rearrange the tab order for the
child controls of the panels using View->Tab Order, but I cannot
change the tab order of the panels themselves.

If I change the order the panels are added in the Initialize code
(me.controls.add(...)) then the order they appear on the form is also
changed. If I use me.Controls.SetChildIndex(Panel1,0)) etc... then
the order also changes.

Anybody have any ideas?

Thanks.
 
G

Guest

You can manually set the tab order using the Properties tab in visual
studios. Simply select the panel and set the tab order. If you can not
select the panel, say all controls cover the entire panel, then select on the
over top controls and hit the esc key. This will move the selected design
time control to the lower parent, then you can manually set the tab order.

Rick D.
Contractor
 
G

Guest

Forgot to mention. The property you will update to set the tab order in
tabIndex.

Rick D.
Contractor
 

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