Click here to Skip to main content
16,018,818 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
How to set tab index of controls, some of which are in splitcontainer.Panel1 & some in SplitContainer.Panel2.
Currently, tabIndex first get assign to all controls in SplitContainer.Panel1 & then goes to SplitContainer.panel2
Posted
Comments
Dalek Dave 15-Sep-10 4:53am    
Good Question! I don't know the answer, but I will have a damn good think!
Toli Cuturicu 15-Sep-10 17:01pm    
If the question is good, then vote it!

1 solution

hi,
actually you can first assign tab index for all parents. ( I mean root containers) then you can one by one assign index to the children.
In your example assign 0 to panel1 and then assign again from 0 to all children of the panel1. than assign 1 to panel2 and go on.

Panel1 -> 0
Panel1_Child1 -> 0
Panel1_Child2 -> 1
Panel1_Child3 -> 2
Panel2 -> 1
Panel2_Child1 -> 0

and go on.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900