Click here to Skip to main content
15,912,578 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have a main dialog with Tab control. On tab click, when focus obtained on the tab, the next focus should be into the first control of the child dialog(which is visible when user selects a tab). But this is not happening. Instead focus moves to the control in the main dialog itself.

How can i set focus to the child dialog, once focussed on the tab?
Posted

1 solution

Pay attention that not only every terminal controls have tab index, but also all containers do. You really need to what you want, but make sure that your tab control and each tab page have tab index 0. Tab stop goes between higher levels of hierarchy first, then go down the children of the selected container, and so on.

—SA
 
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