Displaying criteria from a combo box

S

Steve

Hello,

I have a combo box that has about 25 items listed in it. On the form, when
i click the drop down box, I am trying to get it to display all the items
versus having to scroll down through them. Does anybody know how to make
this happen??

Thanks
 
D

Douglas J. Steele

You mean you want all 25 rows to show at once? Set the ListRow property to
the same value as ListCount.
 
J

John W. Vinson

Hello,

I have a combo box that has about 25 items listed in it. On the form, when
i click the drop down box, I am trying to get it to display all the items
versus having to scroll down through them. Does anybody know how to make
this happen??

Thanks

You've gotten advice about the ListRows property but... a couple of ideas:

- You know that a Listbox control is always 'dropped down' and can be sized to
show all the rows all the time?
- What will you want to do when the combo needs to expand to 215 rows? Bigger
monitors and/or smaller fonts? <g>
- A Combo Box has an "autocomplete" feature: if you tab into it and type a
letter, it will jump to the first row starting with that letter; a second
letter will find the first row starting with those two letters. This can make
using the mouse or scrolling unnecessary.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top