UseWaitCursor Form Property

It appears that it would be nice if the UseWaitCursor property on a form would execute on its own thread as the cursor doesn't necessarily change right away.

Does anyone has a suggestion to make this property respond better when it's changed to True?
BC_EasyriderAsked:
Who is Participating?
 
technofileCommented:
System.Windows.Forms.Application.DoEvents()
0
 
technofileCommented:
Application.DoEvents() will allow it to update right away.
0
 
technofileCommented:
I would also suggest doing a btn.Enabled = False right after the Me.Cursor = Cursors.WaitCursor and before the DoEvents
0
 
BC_EasyriderAuthor Commented:
Haven't tested it but it sounds solid.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.