Windows App - Tab Feature / Alignment is not working

VS 2005 / VB.Net

Windows App - Tab Feature / Alignment is not working

I am using plent of Panels in this Winform ..

All Tab features are not working ..
Screenshots.JPG
chokkaStudentAsked:
Who is Participating?
 
ZhaolaiCommented:
See this:

Screenshot.PNG
0
 
wellholeCommented:
Make sure the TabStop member of the panels and controls are set to True. Otherwise, the tab key will not bring the cursor to them.
0
 
John (Yiannis) ToutountzoglouInstructor Multiengine PilotCommented:
How many panels to do you have ....:)..There are also textboxes,labels,combos,radio button e.t.c did you restart the numeric of tab index as you wish?
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

 
John (Yiannis) ToutountzoglouInstructor Multiengine PilotCommented:
reverse the tabstop from panels to false....
0
 
John (Yiannis) ToutountzoglouInstructor Multiengine PilotCommented:
control's TabIndex is only relevant within its container. Once you enter a container you must visit all controls within that container before moving to the next container.

If you want to follow the tab order as is then you can just call the form's SelectNextControl method. If you want to follow a different order then you'll need to put the TextBoxes in an array of your own. You can then find the index of the current control, get the control at the next index and call its Select method.
0
 
John (Yiannis) ToutountzoglouInstructor Multiengine PilotCommented:
0
 
ZhaolaiCommented:
In design time, click on menu View->Tab Order. All the tab orders will be displayed (See screen shot below). You can just click on the blue boxes to change the tab orders.
 
 You need to align Panels' tab indexes, too, although you can set its TabStop to false. Their indexes are part of indexes for the controls inside the panel.

Screenshot.PNG
0
 
chokkaStudentAuthor Commented:
Thanks Zhaolai - For a brief explaination ..

let me take some time and update you
0
 
chokkaStudentAuthor Commented:
TabIndex - 0.0
0.1

is considered to be Invalid
0
 
ZhaolaiCommented:
No, you do not put tabindex 0.0 or 0.1 in the control's TabIndex property box. You just need 0, 1, 2,.....
0.0, 0.1 are tab indexes when showing using View->Tab Order.
0
 
chokkaStudentAuthor Commented:
For every controls, Under property i can see TabIndex

How should i go for Tab Order View ?
0
 
ZhaolaiCommented:
For the controls inside a panel, using View->Tab Order, it shows tab indexes as 0.0, 0.1, 0.2. The first 0 is the tab index of the container panel.

If you click on View->Tab Order, all the tab indexes are shown for the controls. You ca just simply click on each one (in blue boxes) to change it. You don't need to change them in the controls' property list.
0
 
chokkaStudentAuthor Commented:
Ok,I am able to see the TabOrder in Blue Box.

But, i am able to edit the Blue Box
0
 
ZhaolaiCommented:
No, you can't type anything into the blue box. Just keep clicking on it until the proper indexes appear.
0
 
chokkaStudentAuthor Commented:
But, i am not able to edit the Blue Box
0
 
ZhaolaiCommented:
You mean when you click on the blue box, the index number in the box does not change.
0
 
John (Yiannis) ToutountzoglouInstructor Multiengine PilotCommented:
You may read this....It explains Both @Zhaolai's Solution and mines
http://www.devasp.net/net/articles/display/831.html
0
 
chokkaStudentAuthor Commented:
zhaolai - Amazingly it works ..

Still i have some issues .. but its ok ..

99% is working
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.