Return a combo box to initial state VB6

1

Return a combo box to the initial state (empty) being in style 2 - dropdown list, I have a combo box with the marks of some cars, and I have it in style 2-dropdown list, so that the user can not write anything , just choose, but then I have a clean button, and I had put ComboMarca.text="", but it tells me that the text property is read only, and it is because it is in style 2-dropdown list, as I return it to the Initial state when you first enter the form, that is blank?

    
asked by darioxlz 10.07.2018 в 01:23
source

1 answer

1
ComboBox2.Items.Clear()

With that you can now clean all the elements of your ComboBox .

    
answered by 10.11.2018 в 10:57