-
Hello Everybody
I am currently using a RichTextControl to display a running log window.
Regular Debug messages are printed on the log window. But, my cursor remains at first position even though text is appeared.
I would like my cursor to move to the last position in the window. Can somebody kindly tell me how to do this ?
Thanks a lot
Sathya
-
I think you can do this:
Code:
RichTextBox1.SelStart= Len(RichTextBox1.Text) + 1
Setting SelStart to a number greater than the length of the text changes the insertion point to the length of the text and sets the SelLength property to 0.