A RTB is being used to load and display a text file. Then extra lines are written to the RTB (at the end) by the program. Finally the updated content of the RTB is written back into the source file. So far so good, it works perfectly.

The simple query is how to make the content of the RTB constantly scroll up as each new line is added - thus the bottom of the RTB would always show the last line which has been added (ie. the end of the text) At present each time the RTB content is updated the first line of content is at the top of the RTB, but the last (latest) line is way below the bottom. It can be found using the vertical scrollbar, but as soon as the program updates the RTB it reverts to the "standard" display of first line at the top.

I would appreciate any suggestion, or pointer to where to read up on this. I tried MSDN but without success.

camoore

Wales, UK