Re: Code Window Usage

by Herfried K. Wagner [MVP] on 11/1/2007 6:10:00 PM "clara" <clara@discussions.microsoft.com> schrieb:
> How to make the code window display only one sub procedure instead of
> multiple?
> Just like in VB6.

This view is unfortunately not supported.

--
 M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
 V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
 

Re: Code Window Usage

by rowe_newsgroups on 11/1/2007 2:14:00 AM On Nov 1, 11:54 am, clara <cl...@discussions.microsoft.com> wrote:
> Hi all,
>
> How to make the code window display only one sub procedure instead of
> multiple?
> Just like in VB6.
> Thank you
>
> Clara
>
> --
> thank you so much for your help

I'm not sure about mimicking the VB6 style, as I never used that
feature, but here's what I do. I use the outlining functionality of
the Visual Studio IDE and keep all methods collapsed. Then, when I
work on a method I simply expand it, which effectively "hides" the
other methods. Also, if you want to hide groups of methods/fields/
properties then you can use the #region preprocessor command.

Thanks,

Seth Rowe