I make the TextBox1 properties become multiline and has vertical scroll.
This is my code :
I made this code accidently. And it works. But I wonder, Is there a better to do it?
Thanks in Advance.
Regards,
This is my code :
VB.NET:
Button1_Click :
For I as Integer = 1 To 100
TextBox1.Text &= I & VbCrLf
TextBox1.SelectionStart = TextBox.TextLength
TextBox1.ScrollToCaret()
TextBox1.Refresh()
Threading.Thread.Sleep(1)
Next I
I made this code accidently. And it works. But I wonder, Is there a better to do it?
Thanks in Advance.
Regards,