|
-
Dec 3rd, 2014, 10:54 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Is there a keyboard shortcut to add "comment block"?
If I do not want to click on the "comment block" button every time?
Is it customizable?
-
Dec 4th, 2014, 01:01 AM
#2
Addicted Member
Re: Is there a keyboard shortcut to add "comment block"?
Sorry but its not customizable, it's either every line you will put a single quote ( ' ) at the beginning.
If I had helped you...
Don't forget to mark your Inquiry as RESOLVED...
I will be glad if you can also give me some Reputation points in helping you (by Clicking Rate This Post)...
Happy VB Coding Everyone! 
-
Dec 4th, 2014, 03:49 AM
#3
Re: Is there a keyboard shortcut to add "comment block"?
I use the MZTools addin for this kind of functionallity
http://mztools.com/v3/download.aspx
-
Dec 4th, 2014, 09:05 AM
#4
Re: Is there a keyboard shortcut to add "comment block"?
I don't know if there is a way, but you might be able to map a keystroke combination to the button. It's been a long time since I've used the VB6 IDE, so I don't remember if something like that is possible. I remember this being a pain for me at the time too. I don't recall anything in MZTools that addressed this though (and after looking back trhough the features, I don't see anything regarding comment blocking)... Unless there's something about that Arnoutdv knows about it that I don't.
-tg
-
Dec 4th, 2014, 09:08 AM
#5
Re: Is there a keyboard shortcut to add "comment block"?
In MZTools "options" go to Tab "Shortcuts", select a button, assign a shortcut, click "Add"
I use:
"CTRL-1" for "Comment Block"
"CTRL-2" for "Uncomment Block"
"CTRL-3" for "Add Line Numbers"
"CTRL-4" for "Remove Line Numbers"
-
Dec 4th, 2014, 09:11 AM
#6
Re: Is there a keyboard shortcut to add "comment block"?
- In the MZTools toolbar, click the Options button, then click the Shortcuts tab.
- In the Button list, select Comment Block.
- In the Shortcut list, select the key combination that you want to use (I use Ctrl+K to match some other editors).
- Click the Add button.
- Repeat the above for Uncomment Block and the key combination you want to use for that (I use Ctrl+Shift+K for the same reason as above).
-
Dec 4th, 2014, 09:13 AM
#7
Re: Is there a keyboard shortcut to add "comment block"?
So the answer is "Yes, there is something I know that you don't. Nanah-nanah-boo-boo!" 
-tg
-
Dec 4th, 2014, 08:32 PM
#8
Addicted Member
Re: Is there a keyboard shortcut to add "comment block"?
Hahaha! Haven't used that Add-In too! New knowledge acquired.
If I had helped you...
Don't forget to mark your Inquiry as RESOLVED...
I will be glad if you can also give me some Reputation points in helping you (by Clicking Rate This Post)...
Happy VB Coding Everyone! 
-
Dec 5th, 2014, 06:48 AM
#9
Thread Starter
Hyperactive Member
Re: Is there a keyboard shortcut to add "comment block"?
 Originally Posted by Arnoutdv
Already using it, very handy, although I still want some more functionalities ... I'm so greedy.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|