ScrollBar Problem

im using the scrollbar component and a textbox, and the textbox its ment to show wats in an array, its works but the problem is that the scrollbar doesnt work when the array is loaded. Does n e 1 know wats wrong or how i can fix it??