how do you count the lines in a textbox? you know so it will say line 256 or what ever line im on .... also im going to make so kind of goto command that will go to that line in the textbox ..... but im not sure what would be the best way to do that
Printable View
how do you count the lines in a textbox? you know so it will say line 256 or what ever line im on .... also im going to make so kind of goto command that will go to that line in the textbox ..... but im not sure what would be the best way to do that
thanks
Should fit your needs
@frozen, your code detects only hard linebreaks. It can't detect the linebreakes that occurs due to wordwrap. Please read the developerfusion link I posted in post#2.
Never seen a textbox just use cr or lf