Multiline textboxes and loops.

tengu

New member
Joined
Oct 20, 2006
Messages
4
Programming Experience
Beginner
First off Happy new year guys.

I am trying to write a couple of basic proggys to get my head round loops.

I want the results of each iteration to display in a mutliline textbox, each result on a new line.

I have used listboxes for one version of the progs, but cant make the loop display the reults in a textbox.

None of my books seem to be any help on this point and google doesn't seem to come up with anything that I can get my head around.

Could anyone point me in the right direction?


Thanks guys

Tengu.
 
VB.NET:
For lp = x to y
textbox1.AppendText(environment.NewLine)
textbox1.AppendText("AnnadaLine uvtex")
Next
 
Back
Top