Click here to Skip to main content
15,887,344 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to tabcontrol changing when user clicks on treeview node ?
Posted
Comments
BillWoodruff 1-Feb-12 19:13pm    
If what you mean is: how do you change the displayed/selected TabPage in a TabControl when a TreeNode is clicked, the answer is pretty simple.

But, is that what you mean ?

Do you also wish to "synchronize" the TabControl displayed TabPage with the Node selected in the TreeView: so you switch to another TabPage, and the TreeView's selcted Node is changed ?

That's not hard to do, either.
Sergey Alexandrovich Kryukov 1-Feb-12 20:54pm    
Hard or not, but I think OP does not deserve an answer.
First, the desired behavior is not clear.
Secondly, both TabControl and TreeView are ambiguous. There are different classes with these names, in different libraries. We need fully-qualified names of these classes.

Also, UI library should be tagged (WPF? Forms? APS.NET? What?)

Please see my suggestion for all experts below.
--SA
BillWoodruff 1-Feb-12 21:04pm    
SAK, your posting these big red warnings here are disturbing and distracting to the whole QA process. I have reported this one as abuse, and I will continue to report others of this type as abuse.

Such vitriolic messages, which are not responses to the question at all, may "intimidate" new, or "shy," or posters for whom English is not their primary language.

The place to raise this issue is on the forum "Site Bugs and Suggestions."

Please see my comment on this on said forum here:

http://www.codeproject.com/Messages/4145375/re-posting-of-big-red-warning-messages-on-QA-forum.aspx

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