[SOLVED] Wait Cursor

Answered
0
0

In my application i have a form where in the Load (or shown) event, runs a query on database that take some seconds.
During this i would like to show the wait cursor.
It’s possible to set it at runtime and and show during the quering?
Thanks in advance

  • You must to post comments
Best Answer
0
0

Hi Angelo,

if you´re running on WebSockets you can use code like this:

this.ShowLoader = true;
Application.Update(this);
// do your database query here
this.ShowLoader = false;

If you´re not running on WebSockets you can start a background task for the DB query with Application.StartTask
and handle the ShowLoader there.

Best regards
Frank

 

 

 

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.