Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MzTools comment lines missing?

81 views
Skip to first unread message

mp

unread,
Nov 19, 2012, 5:09:21 PM11/19/12
to
Hi all,
Haven't used vb6 or mztools for long time, but was sure there use to be
a function to select multiple lines and comment or un comment them.
don't find it anywhere on toolbar, menu or helpfiles

unfortunately i'm now on win7 so maybe they disappeared in that release?

Larry Serflaten

unread,
Nov 19, 2012, 5:32:11 PM11/19/12
to
On Monday, November 19, 2012 4:09:21 PM UTC-6, mp wrote:
> Hi all,
>
> Haven't used vb6 or mztools for long time, but was sure there use to be
>
> a function to select multiple lines and comment or un comment them.
>
> don't find it anywhere on toolbar, menu or helpfiles


Right click on a toolbar and be sure the Edit toolbar is checked.
That toolbar has a couple buttons for commenting/uncommenting.

LFS

Jeff Johnson

unread,
Nov 19, 2012, 5:40:38 PM11/19/12
to
"Larry Serflaten" <serf...@gmail.com> wrote in message
news:60e72bea-cad9-4881...@googlegroups.com...

>> Haven't used vb6 or mztools for long time, but was sure there use to be
>>
>> a function to select multiple lines and comment or un comment them.
>>
>> don't find it anywhere on toolbar, menu or helpfiles
>
>
> Right click on a toolbar and be sure the Edit toolbar is checked.
> That toolbar has a couple buttons for commenting/uncommenting.

Yeah, I'm pretty sure this is why it went "missing" from MZTools: it wasn't
there to begin with since the IDE already supplied the functionality. I
never used the Edit toolbar myself; I just built a utility toolbar and added
those buttons to it. It's basically an Edit/Debug hybrid.


MikeD

unread,
Nov 19, 2012, 6:59:50 PM11/19/12
to


"mp" <nos...@thanks.com> wrote in message news:k8eamg$pdu$2...@dont-email.me...
To my knowledge, never a feature of MZ-Tools because VB6 already has it.
It's just not readily apparent. In fact, as best as I can recall, VB6
doesn't even make the commands available by default. You need to customize
a menu or a toolbar. What I do is add the buttons to the "Menu Bar" (to the
same section as the Indent and Outdent buttons and get rid of those) as well
as to "Code Window" of "Shortcut Menus" . To do this, right-click a toolbar
and select Customize. Click on the Commands tab and in Categories, click
Edit. Scroll down in the Commands list and you'll find "Comment Block" and
"Uncomment Block". You can drag and drop these onto any toolbar or menu (it
needs to be visible).

Mike


MikeD

unread,
Nov 19, 2012, 7:19:43 PM11/19/12
to


"Larry Serflaten" <serf...@gmail.com> wrote in message
news:60e72bea-cad9-4881...@googlegroups.com...
Oh yeah. Forgot about the Edit toolbar. :) I guess those buttons are on
that toolbar by default. Like Jeff, I never use that toolbar either.

Mike


ja...@bitspaces.com

unread,
Nov 20, 2012, 12:34:57 PM11/20/12
to
On Monday, November 19, 2012 5:09:21 PM UTC-5, mp wrote:
> Haven't used vb6 or mztools for long time, but was sure there use to be
> a function to select multiple lines and comment or un comment them.
> don't find it anywhere on toolbar, menu or helpfiles

MZ Tools does have the ability to add keyboard shortcuts for those functions, which I find very helpful (I use Ctrl+K to comment a block, Ctrl+Shift+K to uncommment).

Go to the MZTools options window > Shortcuts tab, and choose Comment Block/Uncomment Block from the Button list and assign a shortcut key.

mp

unread,
Nov 25, 2012, 12:10:54 PM11/25/12
to
To all, many thanks for jogging my memory ;-)))
0 new messages