VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Codebox with Line Numbers

Anthony Dunleavy  (2 Submissions)   Custom Controls/Forms/Menus   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

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).

Rate Codebox with Line Numbers (15(15 Vote))

Download Codebox with Line Numbers

Codebox with Line Numbers Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters