List Info

Thread: Need Help : Line numbers in textbox control




Need Help : Line numbers in textbox control
country flaguser name
Philippines
2008-03-19 20:24:53

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]

__._,_.___
.

__,_._,___
Re: Need Help : Line numbers in textbox control
user name
2008-03-20 23:06:09

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_amvryahoo.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]

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )