Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a combobox control that is is created by code, But I can not set property style(drop down list)and height for it.
can you help me?
thank :doh:
Posted
Updated 30-Aug-21 23:32pm
Comments
thatraja 24-Dec-10 3:46am    
check my updated answer

1 solution

Here you go these will help you.

'Text' Property is Read-Only Error as Set Combo Box Text Prop[^]

Change Combo Box List Height[^]

Then you should look at this tutorial which explains the combobox types, etc.,

[Edit]Visual Basic Combo Box Tutorial[^][/Edit]
 
Share this answer
 
v2
Comments
ngthtra 24-Dec-10 3:28am    
thanks about your link but they do not help me resolve. they said that if i want to set style=2 for combobox ,I must assign a value for Listindex btu i don't know what that value is; a number, a boolean type or etc. I don't know. I tryed to assign listindex=0 and listindex=true but all unsuccessfully.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900