# How can I make a Scrollbar load ONLY when it's needed?

**URL:** <https://forum.kirupa.com/t/how-can-i-make-a-scrollbar-load-only-when-its-needed/116542>\
**Category:** Uncategorized\
**Created:** [July 19, 2004, 12:59pm UTC](https://forum.kirupa.com/t/how-can-i-make-a-scrollbar-load-only-when-its-needed/116542 "2004-07-19T12:59:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![orionstar](https://avatars.discourse-cdn.com/v4/letter/o/51bf81/32.png) [@orionstar](https://forum.kirupa.com/u/orionstar)\
**Post date:** [July 19, 2004, 12:59pm UTC](https://forum.kirupa.com/t/how-can-i-make-a-scrollbar-load-only-when-its-needed/116542/1 "2004-07-19T12:59:49Z")

</div>

Hey guys,

I have checked out Kirupa’s great tutorial on this, but that was based on an input box and then a “result box”.

I would just like to make a simple dynamic text boxt that loads a scrollbar automatically when it is needed , and NOT show when it is not needed.  
Could anyone please point me towards any simple code for that?

Thanks in advance.
