combobox not firing double click event

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using combo box with DropDownStyle = simple.
Tried to use double click event but it does not work.

I've got

this.comboItems.DoubleClick += new
System.EventHandler(this.comboItems_DoubleClick);
....
private void comboItems_DoubleClick(object sender, System.EventArgs e)
{
MessageBox.Show("double click");
}

but it never even goes there! If I double click in text portion, a word
becomes highlighted. If I double click in list portion, nothing happens at
all.

Actually, couldn't get it work for none of the DropDownStyles.
Can anybody tell me what I'm doing wrong?

Thank you.
 
It doesn't work double-clicking on the text or double clicking in the list.
It only works double-clicking on the drop arrow button (at least I'm fairly
certain that's the way it works).

Pete
 
Back
Top