chokka
asked on
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
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
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.
How many panels to do you have ....:)..There are also textboxes,labels,combos,ra dio button e.t.c did you restart the numeric of tab index as you wish?
reverse the tabstop from panels to false....
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.
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.
Read the comlete article.....http://www.vbforums.com/showthread.php?t=565128
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
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
ASKER
Thanks Zhaolai - For a brief explaination ..
let me take some time and update you
let me take some time and update you
ASKER
TabIndex - 0.0
0.1
is considered to be Invalid
0.1
is considered to be Invalid
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.0, 0.1 are tab indexes when showing using View->Tab Order.
ASKER
For every controls, Under property i can see TabIndex
How should i go for Tab Order View ?
How should i go for Tab Order View ?
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok,I am able to see the TabOrder in Blue Box.
But, i am able to edit the Blue Box
But, i am able to edit the Blue Box
No, you can't type anything into the blue box. Just keep clicking on it until the proper indexes appear.
ASKER
But, i am not able to edit the Blue Box
You mean when you click on the blue box, the index number in the box does not change.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
zhaolai - Amazingly it works ..
Still i have some issues .. but its ok ..
99% is working
Still i have some issues .. but its ok ..
99% is working