How to show the END of a long string in an edit box?
I am using an edit box as a status window in an application:
i=winio@('%64.10eb[hscrollbar,vscrollbar]',statstg,32000)
As a program runs, it appends occasional messages to the end of the string 'statstg' and updates it in the edit box. Works fine until the tenth message or so, after which subsequent messages scroll off the bottom of the box. The user can see them by sliding the vertical scrollbar, of course. But it would be nice if the box did that automatically, so that the newest message is visible at the bottom of the scroll box, and older messages eventually scroll off the TOP of the box.
I know how to put messages at the end of the string instead of the beginning, basically having 30,000 or so leading blanks before the messages start to appear at the end of the string. There's a right-justify function.
But how do I get the edit box to display the END of the string instead of the beginning? IOW, how do I get the box to automatically scroll to the very end of the string, each time I update it?