Using a Rich Text Box to Display Output Stream for a running process in Execution
Posted on 2004-08-19
I have a Rich Text Box winform control used to display output stream information of a process in execution. When the text being displayed populates the full height(area) of the rich text box,, it doesn't automatically scroll down. The only way to mimick this behavior is if I click my mouse in the Rich Text Box, just after the end of line of the process text string (i.e placing the cursor in a carriage return line feed position). Is there a way to set the Rich Text Box to automatically stay in scroll down position as output text populates the area of the rich text box.
I current set a string variable equal to the output stream. Then I set "this.text = string variable" to display the output stream.