Combobox droppeddown property and strange mouse cursor behaviour

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
 
C

Cameron Epp

Has anyone had a chance to look at this? I'm really puzzled by this
behaviour.

Thanks - Cam Epp
 

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

Top