M Maglor Member Joined Apr 29, 2007 Messages 8 Programming Experience Beginner May 14, 2007 #1 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
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
M Maglor Member Joined Apr 29, 2007 Messages 8 Programming Experience Beginner May 14, 2007 #2 Bump...... Upvote 0 Downvote
JohnH VB.NET Forum Moderator Staff member Joined Dec 17, 2005 Messages 15,844 Location Norway Programming Experience 10+ May 16, 2007 #3 http://www.codeproject.com/useritems/RTF_LineNumbering.asp Upvote 0 Downvote
M Maglor Member Joined Apr 29, 2007 Messages 8 Programming Experience Beginner May 16, 2007 #4 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: May 16, 2007 Upvote 0 Downvote
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
JohnH VB.NET Forum Moderator Staff member Joined Dec 17, 2005 Messages 15,844 Location Norway Programming Experience 10+ May 16, 2007 #5 Maybe you can use Graphics.MeasureString to measure the line height? Or use VB 2005 .Net 2.0 Upvote 0 Downvote