My combo boxes does not respond to doubleclick...

  • Thread starter Thread starter Jan Nielsen
  • Start date Start date
J

Jan Nielsen

Hi
I have a form with some comboboxes

My problem is that they don't react on my doubleclick event.
I doubleclick in the textbox part of the combo. And nothing happens.
They react on selectedindexchanged and click events.
It does not make any difference whether I use Simple, drop down or drop down
list in the DropDownStyle property.

Private Sub ComboBox1_DoubleClick(ByVal sender As Object, ByVal e As
System.EventArgs) Handles ComboBox1.DoubleClick
MsgBox("2 clicks")

End Sub

And it is not because I doubleclick too slow. Doubleclick events work fine
on other controls.

Best regards

Jan Nielsen
 
* "Jan Nielsen said:
I have a form with some comboboxes

My problem is that they don't react on my doubleclick event.
I doubleclick in the textbox part of the combo. And nothing happens.
They react on selectedindexchanged and click events.
It does not make any difference whether I use Simple, drop down or drop down
list in the DropDownStyle property.

Private Sub ComboBox1_DoubleClick(ByVal sender As Object, ByVal e As
System.EventArgs) Handles ComboBox1.DoubleClick
MsgBox("2 clicks")

In my VS.NET the 'DoubleClick' event doesn't show up for comboboxes.
 
Back
Top