Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 17770, Comment shortcut key

by Ray Lischner Email: Anonymous

Installs Ctrl+\ keyboard shortcut to insert or delete //.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 6.0  to 6.0 235 downloads
Copyright: Open Source or other

Size: 2,110 bytes
Updated on Mon, 08 Apr 2002 15:46:35 GMT
Originally uploaded on Mon, 08 Apr 2002 15:45:48 GMT
SHA1 Hash: A1FC4372F7D801477B67A9DAFD896B267FE790A4
MD5 Hash: 00830C2270561CDDBF6996828524FF79

    Explore the files in this upload

Install the CommentKey unit in a design-time package, such as dclusr. It defines a keyboard shortcut, Ctrl+\. When you invoke this keyboard shortcut, the current source line is commented out or uncommented. If a block is selected, the first line in the block determines whether every line will be commented or uncommented.

Comment characters (//) are inserted at the first non-blank position on the line. Comment characters are removed if they are the first non-blank characters on the line.

This wizard serves as an example for writing other keyboard short cuts that work with the source editor.

For more information, see

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03