TextBox - Code View

Maglor

Member
Joined
Apr 29, 2007
Messages
8
Programming Experience
Beginner
I want to add a "code view" to my textbox like this:



I googled it but since the word code and view are so much used, I couldn't find it :(
 
Thanks a lot, I thought nobody knew!

Edit: Only bad it's only for .NET 2.0, and that I use 1.1 and that the "GetFirstCharIndexFromLine" function was not made yet :(
 
Last edited:
Maybe you can use Graphics.MeasureString to measure the line height?
Or use VB 2005 .Net 2.0 ;)
 
Back
Top