Multi-page configuration with TreeView. How is it done?

  • Thread starter Thread starter Benton
  • Start date Start date
B

Benton

Hi there,

I need to do something like the Visual Studio "settings" window, i.e.,
having a TreeView on the left side and some kind of multi-panel (or
multi-page) control on the right side.

What should I use on the right side? I thought it was a TabControl, but I
can't find a way to make the TabPage headers invisible.

Thanks in advance for any ideas,

-Benton
Using VS 2005.
 
Benton said:
I need to do something like the Visual Studio "settings" window, i.e.,
having a TreeView on the left side and some kind of multi-panel (or
multi-page) control on the right side.

What should I use on the right side? I thought it was a TabControl, but I
can't find a way to make the TabPage headers invisible.

You could use a set of usercontrols.
 
It's a PropertyGrid. If you right click in the Windows Forms section of the
toolbox that is visible when you are editing a form, choose Add/Remove
Items..., and in the dialog, find the PropertyGrid control. It is in the
System.Windows.Forms namespace.

I started trying to use Microsoft's, but eventually wrote my own - their's
is a pain to work with. If you want to work with their's there are some
helpful articles out there...

WNC
 
I need to do something like the Visual Studio "settings" window, i.e.,
You could use a set of usercontrols.

Excellent! Seems to do the trick. Much appreciated.

Regards,

-Benton
 
Back
Top