I want to be able to display process update information to a user. The way I want to do this is by having a control on the main winform that (at a yet undecided process) keeps the user informed via text of what the status is. I want this text to scrollup (within a control) as more text is added.
What is the best way to achieve this?
Use a multiline TextBox, like so:
myTextBox.Multiline = true;
And update it while scrolling to the bottom, like so:
myTextBox.Text += "My message" + System.Environment.NewLine;
myTextBox.SelectionStart = myTextBox.Text.Length;
myTextBox.ScrollToCaret();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With