M
Mark Denardo
Hi I'm trying to create a log window that keeps the user informed with misc
messages. Right now I'm using a richtextbox (tried a regular textbox as
well) that has a scrollbar and I append text to the end of it:
rtbLog.AppendText(vbCrLf & msg)
This works ok, but after the textbox fills and the scrollbars are presented,
the textbox doesn't automatically scroll with the new text. The user has to
manually scroll every time new text is appended to the textbox. This won't
work, because I have text appending every second or so.
Anybody know how to make this textbox autoscroll with appending text, or
perhaps a better control to use as my log window??
messages. Right now I'm using a richtextbox (tried a regular textbox as
well) that has a scrollbar and I append text to the end of it:
rtbLog.AppendText(vbCrLf & msg)
This works ok, but after the textbox fills and the scrollbars are presented,
the textbox doesn't automatically scroll with the new text. The user has to
manually scroll every time new text is appended to the textbox. This won't
work, because I have text appending every second or so.
Anybody know how to make this textbox autoscroll with appending text, or
perhaps a better control to use as my log window??