replicate tools->options menu in visual studio

I would like to replicate the tools->options menu found in Visual studio that has a treeview control on the left, and the various fields for each selection on the right. The type of control seems to be more and more popular, replacing the ugly tab control used in lots of products like Microsoft Word and Excel.

That is just a treeview control on the left, correct? And what type of control is used on the right? Is that just a series of panels. And when you click on a node of the treeview, the panel on the right is activated? I'd like to know how this is most easily managed at design time.

Here is a screenshot of the Options menu I am talking about that is used in Visual Studio.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Say you have 5 Items in the tree view
For each of them place a panel on the right side and the panel will contain all the controls, make these panels Ivisible initially

On the event AfterSelect of the Treeview check the text of the Node selected and correspondingly make the Particular Panel visible

On the left is indeed a standard treeview, Although I wouldn't go for the invisible option, i would build the right side dynamically. Just put one panel on the right side and on the Node selected build the right side.
brokeMyLegBikingAuthor Commented:
Does it take up less memory if you build the controls dynamically? Is it slower? How can I get a sense of what the control layout will look like, in advance?

Yes, It will make use of the resources more effiently because it will only load the ones that need to be shown. Especially if your treeview has a lot of items.

If there aren't that many controls to be shown (less than 50) you will not know the difference in fact it will be faster than with the invisible option because there all the controls of all the items in the treeview will have to be loaded.

About the layout, what I usually do is make a trial version in the designer to get a general feel of what I want it to look like.
and than translate that in the code, you probably will have to do that only once to get an idea and that create the rest from that. And than just run your program and see how it looks, usually only small adjustment have to made after that.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
With less that 50, I mean less that 50 per item
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.