c# Crystal reports wait cursor

Posted by Spooky2010 on Stack Overflow See other posts from Stack Overflow or by Spooky2010
Published on 2010-03-16T07:09:53Z Indexed on 2010/03/16 7:16 UTC
Read the original article Hit count: 261

Filed under:
|
|
|

Using vs2008, winforms C#.

Im using the crystal reports version that comes with vs2008.

I can create and load a crystal report ok. But becasue it can take a few minutes to load, i want to bring up a wait cursor, but am having trouble with that.

I have tried setting the this.crystalReportViewer1.Cursor = Cursors.WaitCursor;

and tried the parent form this.cursor = cursors.waitcursor;

The cursor changes briefly to wait mode, then changes back before the report has finished loading. How can i best set the wait cursor before the report starts to load, force it to stay in wait mode then change it back to the arrow, only after the report has finished loading

thanks for any advice

© Stack Overflow or respective owner

Related posts about c#

Related posts about crystal-reports