how to add line number to textbox or richtextbox just like they do in html editor? Thanks in advance for any useful advise. I will pick the best answer.How to add line number to textbox or richtextbox in VB 2008 Exp?
You may want to make a user control. Put a textbox or richtext on one size and either draw the row numbers in the paint event or use a label on the other side.
No comments:
Post a Comment