Setting # of Items in ComboBox DropDown List 
Author Message
 Setting # of Items in ComboBox DropDown List

Can anyone tell me if there is a way to control how many
items the user sees when they click on the down-arrow of
a combo box?

The comboBox is of the type that they cannot enter their own
value, they have to select from the pre-defined list.

VB seems to be defaulting to 7 or 8 items. I want to set it to
9 or 10.

Delphi has a property called DropDownCount. Is there anything
similar in VB?

If you know the answer, please supply a code example.

Thanks for any help you can provide.

Regards,
John Auston



Fri, 01 Mar 2002 03:00:00 GMT  
 Setting # of Items in ComboBox DropDown List
John ,
There is a sample at either www.mvps.org.vbnet or www.mvps.org.vb
I can't remember which. I believe the latter.
Neila
Quote:

>Can anyone tell me if there is a way to control how many
>items the user sees when they click on the down-arrow of
>a combo box?

>The comboBox is of the type that they cannot enter their own
>value, they have to select from the pre-defined list.

>VB seems to be defaulting to 7 or 8 items. I want to set it to
>9 or 10.

>Delphi has a property called DropDownCount. Is there anything
>similar in VB?

>If you know the answer, please supply a code example.

>Thanks for any help you can provide.

>Regards,
>John Auston



Sat, 02 Mar 2002 03:00:00 GMT  
 Setting # of Items in ComboBox DropDown List


Quote:
> John ,
> There is a sample at either www.mvps.org.vbnet or www.mvps.org.vb
> I can't remember which. I believe the latter.
> Neila

Thanks. I just went to www.mvps.org and found a lot of valuable stuff.
I did not know it was so involved, however, to simply change the number
of dropdown items. Sheesh!

Thanks again.

John

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.



Sat, 02 Mar 2002 03:00:00 GMT  
 Setting # of Items in ComboBox DropDown List
On Tue, 14 Sep 1999 00:30:12 -0500, "Neila Nessa"

Quote:

>John ,
>There is a sample at either www.mvps.org.vbnet or www.mvps.org.vb
>I can't remember which. I believe the latter.
>Neila

1)  http://www.mvps.org/vbnet/
2) Select "Code Library"
3) Select "List & Combo"
4) Select "Changing Combo Dropdown Height"
5) Save HTML page retrieved

If this is not it, I must have misread the ng request.



Sat, 09 Mar 2002 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Setting dropdown list height for ComboBox

2. ComboBox with Style set as DropDown List: Problem.

3. VB6: ComboBox with .Style Dropdown List not maintaining .ListIndex setting

4. Setting dropdown list height for ComboBox

5. Dropdown List Box and Long List Items

6. Newbie: Set a combo box style(2)/Dropdown list to the first element in the list

7. Newbie: Set a combo box style(2)/Dropdown list to the first element in the list

8. Newbie: Set a combo box style(2)/Dropdown list to the first element in the list

9. default number of items in combobox dropdown

10. maximum allowable number of items in dropdown combobox

11. Position of Combobox Dropdown List

12. dropdown combobox list

 

 
Powered by phpBB® Forum Software