# Scrolling dynamic text (not external)

**URL:** <https://forum.kirupa.com/t/scrolling-dynamic-text-not-external/64001>\
**Category:** Uncategorized\
**Created:** [September 12, 2004, 1:10pm UTC](https://forum.kirupa.com/t/scrolling-dynamic-text-not-external/64001 "2004-09-12T13:10:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![am\_oxfordinspir](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@am\_oxfordinspir](https://forum.kirupa.com/u/am_oxfordinspir)\
**Post date:** [September 12, 2004, 1:10pm UTC](https://forum.kirupa.com/t/scrolling-dynamic-text-not-external/64001/1 "2004-09-12T13:10:00Z")

</div>

Does anybody know how I can scroll text in a dynamic text box. I have created an input box for users to type answers and this is scrollable. I have also created another box to display the answer from the input box (so the users can print their answers) but I cannot make this scrollable. Is this an impossibility? Any help will be apreciated.

---

<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:** [September 12, 2004, 3:16pm UTC](https://forum.kirupa.com/t/scrolling-dynamic-text-not-external/64001/2 "2004-09-12T15:16:16Z")

</div>

[http://kirupa.com/developer/mx2004/hide\_scrollbar.htm](http://kirupa.com/developer/mx2004/hide_scrollbar.htm)

Is that similar to what you want?

---

<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:** [September 12, 2004, 3:21pm UTC](https://forum.kirupa.com/t/scrolling-dynamic-text-not-external/64001/3 "2004-09-12T15:21:56Z")

</div>

Make an up arrow button! code=

```auto
on (release) {
	currentScroll = myText.scroll;
	if (Number(currentScroll)>1) {
		myText.scroll = currentScroll-1;
	}
}

```

Down arrow button code:

```auto
on (release) {
	currentScroll = myText.scroll;
	if (Number(currentScroll)<Number(myText.maxscroll)) {
		myText.scroll = Number(currentScroll)+1;
	}
}

```

(change myText to the intant name of your txt box!)

Hope that’s what you’re after!?

---

<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:** [September 13, 2004, 2:07pm UTC](https://forum.kirupa.com/t/scrolling-dynamic-text-not-external/64001/4 "2004-09-13T14:07:29Z")

</div>

> [@Krilnon](#):
>
> [http://kirupa.com/developer/mx2004/hide\_scrollbar.htm](http://kirupa.com/developer/mx2004/hide_scrollbar.htm)
> 
> Is that similar to what you want?

I’ll try this out and let you know how I get on. It looks about what want and even better because I can make the scrollbars invisible. Thanks

---

<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:** [September 13, 2004, 8:33pm UTC](https://forum.kirupa.com/t/scrolling-dynamic-text-not-external/64001/5 "2004-09-13T20:33:21Z")

</div>

> [@PixelWhizz](#):
>
> Make an up arrow button! code=
> 
> ```auto
> on (release) {
> currentScroll = myText.scroll;
> if (Number(currentScroll)>1) {
> myText.scroll = currentScroll-1;
> }
> }
> 
> ```
> 
> Down arrow button code:
> 
> ```auto
> on (release) {
> currentScroll = myText.scroll;
> if (Number(currentScroll)<Number(myText.maxscroll)) {
> myText.scroll = Number(currentScroll)+1;
> }
> }
> 
> ```
> 
> (change myText to the intant name of your txt box!)
> 
> Hope that’s what you’re after!?

Will this work with a scrollbar component? If so where would I put the code?

Cheers AM
