# Length of combobox drop-down

**URL:** <https://forum.kirupa.com/t/length-of-combobox-drop-down/302761>\
**Category:** flash\
**Created:** [January 7, 2010, 3:37am UTC](https://forum.kirupa.com/t/length-of-combobox-drop-down/302761 "2010-01-07T03:37:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![newtome](https://avatars.discourse-cdn.com/v4/letter/n/c4cdca/32.png) [@newtome](https://forum.kirupa.com/u/newtome)\
**Post date:** [January 7, 2010, 3:37am UTC](https://forum.kirupa.com/t/length-of-combobox-drop-down/302761/1 "2010-01-07T03:37:36Z")

</div>

I want to restrict the number of entries that appear in the drop-down list of a combobox (ie the length of the drop-down). My research suggested that mybox.length = 20 should restrict the number of items in the list to 20 but it has no effect. A trace(mybox.length) gives “undefined” yet flash help says the default is 0.
