# Scrollbar component question

**URL:** <https://forum.kirupa.com/t/scrollbar-component-question/186942>\
**Category:** flash\
**Created:** [April 25, 2006, 2:58pm UTC](https://forum.kirupa.com/t/scrollbar-component-question/186942 "2006-04-25T14:58:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![opel](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/opel/32/199_2.png) [@opel](https://forum.kirupa.com/u/opel)\
**Post date:** [April 25, 2006, 2:58pm UTC](https://forum.kirupa.com/t/scrollbar-component-question/186942/1 "2006-04-25T14:58:42Z")

</div>

Is it possible to make the scrollbar component only appear when the the text is over the size limit of the text box space. At the moment when the text is under the size limit the scroll bar appears without the buttons, I would like no part of the scroll bar to appear unless it is required.

Can anyone help?

---

<div class="post-metadata">

**Author:** ![fattony](https://avatars.discourse-cdn.com/v4/letter/f/b5e925/32.png) [@fattony](https://forum.kirupa.com/u/fattony)\
**Post date:** [April 25, 2006, 3:07pm UTC](https://forum.kirupa.com/t/scrollbar-component-question/186942/2 "2006-04-25T15:07:28Z")

</div>

it would be set in the visibility but if you don’t want it to appear until it goes over the limit you have to guess how many letters are there then if(text.text\>50?){scrollbar.visible = true} something like that, that’s a really good question
