• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 490
  • Last Modified:

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?
0
BC_Easyrider
Asked:
BC_Easyrider
  • 3
1 Solution
 
technofileCommented:
Application.DoEvents() will allow it to update right away.
0
 
technofileCommented:
System.Windows.Forms.Application.DoEvents()
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now