Hi dear,
you can add another multiline textbox on the left side whose width is only that much that it can contain the line nos. and height equals to the height of your main text box. now remove the borders of your text box and ny decorations so that no seperation between the two text box can be seen. now u can generate the line nos. through a loop.
I hope i was clear enough to make u understand the thing.
tell me if it works for u.
Bye
venkatesh rao < venkatesh_amvr%40yahoo.co.in">venkatesh_amvr
yahoo.co.in> wrote:
Hi
I am new to vb.net and I need to do an editor,where i am required to use linenumbers. Im unable to figure it out how to include the line numbers in the textbox or richtextbox. Can any one please help me out.
Thanks in advance
Venkatesh
Chat on a cool, new interface. No download required. Go to http://in.messenger.yahoo.com/webmessengerpromo.php
[Non-text portions of this message have been removed]
---------------------------------
Why delete messages? Unlimited storage is just a click away.
[Non-text portions of this message have been removed]
.