Hi,
Are there events that distinguishing between clicking the dropdown component and clicking in the text area of a combobox?
I don't want the something triggered if the dropdown is clicked.
Printable View
Hi,
Are there events that distinguishing between clicking the dropdown component and clicking in the text area of a combobox?
I don't want the something triggered if the dropdown is clicked.
An alternative might be doubleclick, which doesn't seem to want to work.
You can check if the DropDown list was activated.
Code:Private Sub ComboBox1_Click(sender As Object, e As EventArgs) Handles ComboBox1.Click
If Not Me.ComboBox1.DroppedDown Then
MessageBox.Show("Do somethying")
End If
End Sub
OMG. I wish this stuff was as second nature to me as it seems to others.