Combobox droppeddown property and strange mouse cursor behaviour

  • Thread starter Thread starter Cameron Epp
  • Start date Start date
C

Cameron Epp

Hello,

When I set the droppeddown property of a combobox in my form load
procedure, it sets the mouse cursor to the hourglass for the whole form
- but I'm not sure why. I would like it to keep the default mouse
pointer but when I set the droppeddown property it changes the cursor
and it won't change back until I select something from the combobox.

Even weirder is that if I keep my mouse cursor over the place where the
form will eventually appear, the cursors behave properly. It only
changes to the wait cursor if my mouse cursor is outside of the
application form as it loads.

For a quick example make a form with a single combobox and then:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
ComboBox1.DroppedDown = True
End Sub

If you run this form with your mouse cursor far away from where the
form will load - you should see that the cursor for the whole form is
an hourglass.

Does anyone know why this might be happening and what I could do to
make it behave 'properly'?

Thanks a lot - Cam Epp
 
Has anyone had a chance to look at this? I'm really puzzled by this
behaviour.

Thanks - Cam Epp
 
Back
Top