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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top