Link to home
Start Free TrialLog in
Avatar of brokeMyLegBiking
brokeMyLegBiking

asked on

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.
http://winwash.com/images/tools_options.gif

thx!
Avatar of arif_eqbal
arif_eqbal

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.
Avatar of brokeMyLegBiking

ASKER

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?

ASKER CERTIFIED SOLUTION
Avatar of RonaldBiemans
RonaldBiemans

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
With less that 50, I mean less that 50 per item