# Text in scrollpane

**URL:** <https://forum.kirupa.com/t/text-in-scrollpane/158206>\
**Category:** Uncategorized\
**Created:** [August 8, 2005, 6:14am UTC](https://forum.kirupa.com/t/text-in-scrollpane/158206 "2005-08-08T06:14:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kdd](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@kdd](https://forum.kirupa.com/u/kdd)\
**Post date:** [August 8, 2005, 6:14am UTC](https://forum.kirupa.com/t/text-in-scrollpane/158206/1 "2005-08-08T06:14:00Z")

</div>

```auto
anObj.createTextField("my_txt", 1, 0, 0, 200, 20);
anObj.my_txt.wordWrap = true;
anObj.my_txt.autoSize = "left";
anObj.my_txt.text = " a lot of text goes here ";

```

anObj is a scrollpane. after doing this, scrollpane doesn’t get its scrollbars even though the text is out of its limits. why would that happen? basically, how can i make the scrollbars appear if the text is out of scrollpane’s limits?
