Bug: Double-Click Event in ComboBox Won't Fire


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Bug: Double-Click Event in ComboBox Won't Fire

  1. #1
    NoSpam@DontGiveMeNoSpam.com Guest

    Bug: Double-Click Event in ComboBox Won't Fire

    I think I've discovered a new bug in the Window Forms combo box. Can someone please follow the steps outlined in this post and verify that they are having the same problem?

    Bug Description: The DoubleClick event in a ComboBox doesn't fire. I've been able to reproduce this bug on three different machines with VB.NET and C#.

    To recreate the bug, follow these steps:

    1 - Create a new Windows Forms application.
    2 - Add a new ComboBox control to Form1.
    3 - Set the DropDownStyle to simple.
    4 - Add some sample data to the Items collection.
    5 - Create an event handler for ComboBox1's DoubleClick event.
    6 - In the ComboBox1's DoubleClick event handler, add MessageBox.Show("Hello World!").
    7 - Run the program.
    8 - Double-click on an item in the list. Double-click over and over again. The MessageBox never shows.

    Can someone in this newsgroup try the above steps and let me know if they're having the same problem, too? Thanks.

  2. #2
    JFV Guest

    Re: Bug: Double-Click Event in ComboBox Won't Fire


    NoSpam@DontGiveMeNoSpam.com wrote:
    >I think I've discovered a new bug in the Window Forms combo box. Can someone

    please
    >follow the steps outlined in this post and verify that they are having the

    same problem?
    >
    >Bug Description: The DoubleClick event in a ComboBox doesn't fire. I've

    been able to
    >reproduce this bug on three different machines with VB.NET and C#.
    >
    >To recreate the bug, follow these steps:
    >
    >1 - Create a new Windows Forms application.
    >2 - Add a new ComboBox control to Form1.
    >3 - Set the DropDownStyle to simple.
    >4 - Add some sample data to the Items collection.
    >5 - Create an event handler for ComboBox1's DoubleClick event.
    >6 - In the ComboBox1's DoubleClick event handler, add MessageBox.Show("Hello

    World!").
    >
    >7 - Run the program.
    >8 - Double-click on an item in the list. Double-click over and over again.

    The MessageBox
    >never shows.
    >
    >Can someone in this newsgroup try the above steps and let me know if they're

    having
    >the same problem, too? Thanks.



    I recieved the same response... The Message Box did not fire...


  3. #3
    NoSpam@DontGiveMeNoSpam.com Guest

    Re: Bug: Double-Click Event in ComboBox Won't Fire

    Thanks, I wanted someone else to verify that this is a bug in .NET before I reported it to Microsoft. Thanks again.

    "JFV" <vb.@127.0.0.1> wrote:
    >
    >>
    >>Can someone in this newsgroup try the above steps and let me know if they're

    >having
    >>the same problem, too? Thanks.

    >
    >I recieved the same response... The Message Box did not fire...
    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center