I have a textbox in the scrollpane. I am able to set the verticalscroll on when needed with the following code but, when I type in text the text is taken vertically, it is not wrapping to the next line. How do I do this. Are there any methods to wrap the text to the next line after a specified width? Any help is greately appreciated.