Click here to Skip to main content
15,893,161 members

Comments by aodennison (Top 3 by date)

aodennison 12-Nov-12 16:49pm View    
Show code embedded in the form, So I can try compiling and running your code.
Describe what the project should do.
Describe what it does do.
Do not use single letter variable names.
Use Option Explicit, always.
aodennison 12-Nov-12 16:31pm View    
comboBox1.DroppedDown = false;
does close the drop down list as you might expect.

The problem is that combo1_MouseLeave (event) does not fire when the mouse leaves, if the drop down is dropped. I also investigated MouseMouse. It also does not fire while the drop down is dropped.

I seem to remember having this problem in VB6. The drop down is managed by the system. This allows the drop down to drop outside the limits of the host window and on top of other applications, until it is closed, but means the application has little visibility into any events that happen while dropped down.
aodennison 15-Feb-11 15:55pm View    
Thanks!