Limiting the length of a drop down box (combo)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to limit the length of the drop down list that appears when you click on a combo box. I've got about 40 items in the list and when you click the drop down it expands to the top or bottom of the screen. I've seen some pages that have similarly long lists, but they only show 11 or so items and you scroll the list to see the rest. How can I limit the length of the drop down that appears?

Thanks

Damon
 
* "=?Utf-8?B?ZGFtb24uZg==?= said:
I need to limit the length of the drop down list that appears when you
click on a combo box. I've got about 40 items in the list and when you
click the drop down it expands to the top or bottom of the screen. I've
seen some pages that have similarly long lists, but they only show 11 or
so items and you scroll the list to see the rest. How can I limit the
length of the drop down that appears?

Set the control's 'MaxDropDownItems' property to the number of elements
you want to be visible.
 
Back
Top