Re: Collapsing Code in VB6

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi Ken

Thanks for the reply. I did have a look at CodeSmart, and noticed that the
'regions' are not collapsible.

I used to use VB6 in single-procedure mode, but since using the VS.NET IDE I
have become more comfortable with all the code in the same window. Perhaps I
should revert though.

What might be nice, though, would be a procedure explorer instead of the two
combo boxes at the top, and a tabbed IDE instead of having to open the
Window menu all the time.

Charles


"Ken Halter" <Ken_Halter@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:eK4M8gH7GHA.1012@xxxxxxxxxxxxxxxxxxxxxxx
"Charles Law" <blank@xxxxxxxxxxx> wrote in message
news:e5w1YAH7GHA.3644@xxxxxxxxxxxxxxxxxxxxxxx
Does anyone know of an add-in for VB6 that allows sections/regions code
to be expanded and collapsed, like in the .NET IDE?

Charles

CodeSMART has 'Regions' but they're not collapable. They are handy for
grouping methods/properties with similar functionality though.
www.axtools.com

You do know VB6 has a 'Single Procedure View', though, right? If .Net had
that, it's IDE may actually be usable (a real immediate window would help
a *bunch* too.)
You can set it to show single procedures at a time... which makes perfect
sense to me since you can't work on more than one procedure at a time.

To get VB to open that way by default, select Tools/Options/Editor Tab and
clear the 'Full Module View' checkbox.
To toggle between the two settings while working, there are 2 small
buttons on the far left of the code window's horizontal scrollbar you can
use
You can also split the code window in two, using that little bar directly
over the top of the vertical scrollbar.


--
Ken Halter - Please keep all discussions in the groups..
In Loving Memory - http://www.vbsight.com/Remembrance.htm



.


Quantcast