Re: IDE Options dialog

Peter Osucha <[email protected]> Thu, 22 Mar 2007 16:51:41 -0400
Newsgroups gmane.comp.windows.devel.dotnet.cx
Message-ID <[email protected]>
Adam,

Thanks for the response.  I have tried playing around with each of those
options (or very similar) in the past.  But then, I don't have anywhere
near the amount of tree items MS has in that dialog.  I have a hard time
believing that's how MS did it in the IDE options box.  I mean, I guess
they sure could have.  It just seems like that would take a whole lot of
time.  I figured there was some way they might have automated it - but
due to the widely varying sets of controls used to modify each of the
tree items that are tree item dependent, I couldn't think of how they
might have automated it.

Peter

-----Original Message-----
From: Discussion relating to the specifics of the C# and Managed C++
languages [mailto:[email protected]] On Behalf Of Adam Sills
Sent: Thursday, March 22, 2007 4:46 PM
To: [email protected]
Subject: Re: [DOTNET-CX] IDE Options dialog

The cheap and bug-prone way to do it is to create a tab control and move
the
tabs out of the client area of the form. Or find a tab control that
supports
making the tabs invisible.

The cheap and weird-to-design way to do it is to create a bunch of
panels,
throw your controls in them and stack them on top of each other. This
makes
modifying them kind of tough though (since they're all stacked on top of
each other).

The less cheap way is to use a package like Syncfusion's which has a
CardLayoutPanel which works like a tab control without the tabs. I'm
sure
other control packages have something like it. I have Infragistics here
and
I'm not seeing one.

You can also write one yourself. That's more complicated but not too
hard if
you're familiar with building complex windows controls with designer
support.

Adam..

-----Original Message-----
From: Discussion relating to the specifics of the C# and Managed C++
languages [mailto:[email protected]] On Behalf Of Peter
Osucha
Sent: Thursday, March 22, 2007 3:11 PM
To: [email protected]
Subject: [DOTNET-CX] IDE Options dialog

The IDE Options dialog in the VS NET IDE is, I think, a very useful,
compact dialog for viewing and modifying all kinds of information.  I am
wondering what your thoughts are on how it was created.  I mean, there
are hundreds of tree nodes in the selection box - all (or most) offering
a different form section from which to make changes.  Surely, there
isn't a huge 'Switch' statement and an equally lengthy section of blocks
to create and located the controls necessary for the corresponding tree
selection.



How would you go about making such an extensive dialog if you had to?



Peter

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com