It is only a minor quibble, however how do you make a combo box so that you cant edit the main text. So when the user clicks the main text aswell as the arrow icon the listdrops down.
Hope you can understand what i mean :s
Printable View
It is only a minor quibble, however how do you make a combo box so that you cant edit the main text. So when the user clicks the main text aswell as the arrow icon the listdrops down.
Hope you can understand what i mean :s
Change the Style to 2 - Dropdown list, instead of 0 - Dropdown Combo
also you will notice if the style is '2' then you cant set the Text property, so the default item will be blank unless you do it like this
VB Code:
Combo1.AddItem "Cars" Combo1.AddItem "Vans" Combo1.AddItem "Lorrys" Combo1.ListIndex = 0 'this sets the selected item to the first in the list instead of blank