Scrolling dynamic text

I’m having trouble with a dynamic text box that loads an external text file. The scroll bar that is attached to the textbox does not get activated for scroll after the text isloaded. I tried using textbox.onChanged but that only worked for input text. Any suggestions? Is there a better way to do this using the scroll pane perhaps?