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
chokkaAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
ZhaolaiConnect With a Mentor Commented:
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
[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

 
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
 
chokkaAuthor Commented:
Thanks Zhaolai - For a brief explaination ..

let me take some time and update you
0
 
chokkaAuthor 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
 
chokkaAuthor 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
 
chokkaAuthor 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
 
chokkaAuthor 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) ToutountzoglouConnect With a Mentor Instructor Multiengine PilotCommented:
You may read this....It explains Both @Zhaolai's Solution and mines
http://www.devasp.net/net/articles/display/831.html
0
 
chokkaAuthor Commented:
zhaolai - Amazingly it works ..

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

99% is working
0
All Courses

From novice to tech pro — start learning today.