How to disable ComboxBox in VB.net
-
i have 5 combobox in my form once i press submit button, the combobox should be disabled. how to do this??
-
i have 5 combobox in my form once i press submit button, the combobox should be disabled. how to do this??
-
i have 5 combobox in my form once i press submit button, the combobox should be disabled. how to do this??
Are you telling us that you own no books on VB.NET and google is broken where you live ?
Christian Graus Driven to the arms of OSX by Vista.
-
just write "ComboName.enable=false" For such small things please check properties of the Control you want to use. Name only describes its purpose.
-
Private Sub submit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles submit.Click
ComboBox1.Enabled = False
ComboBox2.Enabled = False
ComboBox3.Enabled = False
ComboBox4.Enabled = False
ComboBox5.Enabled = False
End Sub -
Are you telling us that you own no books on VB.NET and google is broken where you live ?
Christian Graus Driven to the arms of OSX by Vista.