Textbox automatic scrol down
Is it possible to let a textbox control automatically scroll down when the text has changed.
eg:
private sub addText(byval myText as string)
txtOut.text = txtOut.text & vbcrlf & myText
End Sub
So when the text in txtOut becomes to large to display, it should scroll down so the last thing added should be visible. This is for a log window, so the event last happend should be at the bottom of the textbox control.
Re: Textbox automatic scrol down
add this to your code:
txtOut.SelStart = len(txtOut)
this should send the cursor to the end of the textbox.