# Scroller with dynamic textfield

**URL:** https://forum.kirupa.com/t/scroller-with-dynamic-textfield/34877
**Category:** Uncategorized
**Created:** [November 7, 2003, 12:39pm UTC](https://forum.kirupa.com/t/scroller-with-dynamic-textfield/34877 "2003-11-07T12:39:02Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![micron](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@micron](https://forum.kirupa.com/u/micron)
#### Post date: [November 7, 2003, 12:39pm UTC](https://forum.kirupa.com/t/scroller-with-dynamic-textfield/34877/1 "2003-11-07T12:39:02Z")

</div>

Hello

I wonder if someone can help me out with this problem.  
I have a dynamic textfield with a scrollbar. When pressing a button to load external text the scrollbar, it works fine, but if i scroll down a little and press a new button(wich get new text into the same dynamic textfield). The scollbar wont go to the top and show text from begining.

Why wont it go to the top automatic???  
I also wonder if it possible that the scroller can turn invisible if not needed?

Would appriciate any help.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [November 7, 2003, 2:18pm UTC](https://forum.kirupa.com/t/scroller-with-dynamic-textfield/34877/2 "2003-11-07T14:18:40Z")

</div>

I figuered out my self.  
Just used - scroller.setScrollPosition(0);

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [November 7, 2003, 6:10pm UTC](https://forum.kirupa.com/t/scroller-with-dynamic-textfield/34877/3 "2003-11-07T18:10:07Z")

</div>

feels good when that happens, huh? =)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [November 7, 2003, 6:14pm UTC](https://forum.kirupa.com/t/scroller-with-dynamic-textfield/34877/4 "2003-11-07T18:14:42Z")

</div>

good job, and thanks for posting the update. it helps out other people when searching.
