Adding a dropdown Box to windows Forms Using Visual Basic

Hello Team
I see that windows forms does not have a dropdown box option. Has anyone found a way around this were I would be able to add a dropdown box to select one item for filtering "purposes"



If you mean by dropdown box that you don't want to see the editable part of a ComboBox, just set its DropDownStyle property to DropDownList. That will disable the edit box and just show the list, sort of like a select element in html.



If you mean by dropdown box that you don't want to see the editable part of a ComboBox, just set its DropDownStyle property to DropDownList. That will disable the edit box and just show the list, sort of like a select element in html.



Thanks Robert but I am new to this. Do you have a sample PLEASE



Sure do you mean code to do this dynamically or something like the picture below?



Yes



So if you have this currently setup, what is not working for you?

Share this

Related Posts

There was an error in this gadget