I'm working on a simple telnet client which at this stage uses two TextBoxes (among other components). One of these has the MultiLine property set and is used for displaying data received from the server and data that has been sent to the user (OutputBox). The other does not have the MultiLine property set, and is used for inputting commands/etc to send to the server (InputBox).
When I append data to the OutputBox I want it to automatically scroll so the newest data (at the bottom of the box) is visible on screen, rather than the old data (at the top).
I also want the OutputBox to display ANSI-formatted text appropriately (and without me having to manually parse the data for ANSI format codes and change font colours/styles accordingly).
How do I get a TextBox (or TextBox style component) with this type of functionality? I've seen these used in many mud clients (what I'm eventually hoping to turn this into), but how it has been achieved is beyond me.