E
Ed Cohen
I am having trouble getting any of the combo boxes to respond to a mouse
double click. Nothing happens! I do get a response using the mousedown event,
but not a mousedouble click event. I am using VS 2005, VB.NET. I had no
problem with Access VBA 2000 with this kind of event.
I have tried doing it manually. Here is the code:
In the form load event
AddHandler ChurchComboBox.MouseDoubleClick, AddressOf ComboBoxDoubleClick
Private Sub ComboBoxDoubleClick(ByVal sender As Object, ByVal e As
System.Windows.Forms.MouseEventArgs) Handles ChurchComboBox.MouseDoubleClick
MessageBox.Show("church")
End Sub
But nothing ever happens. I can get text boxes to respond to a double click
event, but never any combo boxes. Is there something I have forgotten?
Ed Cohen
double click. Nothing happens! I do get a response using the mousedown event,
but not a mousedouble click event. I am using VS 2005, VB.NET. I had no
problem with Access VBA 2000 with this kind of event.
I have tried doing it manually. Here is the code:
In the form load event
AddHandler ChurchComboBox.MouseDoubleClick, AddressOf ComboBoxDoubleClick
Private Sub ComboBoxDoubleClick(ByVal sender As Object, ByVal e As
System.Windows.Forms.MouseEventArgs) Handles ChurchComboBox.MouseDoubleClick
MessageBox.Show("church")
End Sub
But nothing ever happens. I can get text boxes to respond to a double click
event, but never any combo boxes. Is there something I have forgotten?
Ed Cohen