Search Tools Links Login

Codebox with Line Numbers


Visual Basic 6, or VB Classic

This is a rich-text-box with a built-in line-number panel on the left. Typical use would be for a script editor language IDE. I Couldn't find a decent one on here that did this, so I spent some time doing it myself, and passing it on for you to use (and improve on, of course). It is a pretty basic control, but I did make into a control so you can just pop it onto a form and go (of course, source code for control is included). You can control the Line Number panel width, backcolor and forecolor, along with all textbox stuff (uses RTF in case you want to use my syntax code colorizer submission). The Line number panel automatically adjusts its font to be the same name/size/etc., as the text box so that they line up properly. Hope you find it helpful - if so, votes are always appreciated (kind of makes me feel like it was time well spent).

Original Author: Anthony Dunleavy

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 108 times

Categories

Visual Basic 6

Attachments

Codebox_wi80456572002.zip
Posted: 9/3/2020 3:45:00 PM
Size: 5,236 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.