WaitCursor not showing

  • Thread starter Thread starter Mark Powell
  • Start date Start date
M

Mark Powell

I have various instances in my application where the WaitCursor is not
showing when I have called it. On load of the application it displays
OK, but I can't get it to show at any point after that.

At the top of each module, I am importing the namespace:
Imports System.Windows.Forms.Cursors

Then each time I want to display the WaitCursor I call:
WaitCursor.Show()

Then to hide the cursor I call:
WaitCursor.Hide()

But nothing seems to happen when I call the Show statement. Do I need
to do anything else to initialize the cursor?

Many thanks,

Mark Powell
 
To show:-

Cursor.Current = Cursors.WaitCursor

And to remove:-

Cursor.Current = Cursors.Default

Peter
 
Peter Foot said:
To show:-

Cursor.Current = Cursors.WaitCursor

And to remove:-

Cursor.Current = Cursors.Default

Peter

Peter,

Thanks for that - works perfectly.

Regards,

Mark.
 
Back
Top