Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Setting cursor while there is long time consuming.

$
0
0

Hello.

On AX 2009,

I run a method that takes too long time (on form).

I want to set an hourglass cursor on form.

What is the correct way doing that?

I did on code:

void myfunction() {

...

#WINAPI

....

WinApi::setCursor(#IDC_WAIT);

element.lockWindowUpdate(true);

// doing long time consuming ...

element.lockWindowUpdate(false);

}

Thanks :)


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>