Cursor disappears

  • Thread starter Marc Robitaille
  • Start date
M

Marc Robitaille

Hello

I build a usercontrol. On this new control, I added two controls, a TextBox
and a ComboBox. My ComboBox is filled with a DataTable. When the user types
something in the TextBox, I apply a filter to the DataView of the DataTable
of my ComboBox. If there is more than one element, I dropdown the list. If I
have one element, it is automatically selected. My problem is that the
cursor works badly. When I type for the first time in TextBox, the cursor
work correctly. If I move my mouse on the dropped list, I have the default
cursor. If I select something in the list, everything is ok. The next time I
type something, I remain with I-Beam of TextBox even when I move the mouse
on the list. The third time, I don't have any cursor at all. I search the
Net and I didn't find anything concerning this bug. There is nothing in my
code that changes the cursor like :

Me.Cursor = System.Windows.Forms.Cursors.WaitCursor

Is there a solution for this?

Thank you
 

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