Crystal Report Viewer overrides mouse cursor setting

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I am loading some crystal reports in a method similar to this (see below).
And set the cursor to waiting while the reoprt is loaded, run and shown.
BUT while the report is running the cursor changes back to default.
I have tested setting it back to waiting after the call to run the report, -
and it does get set.

Has anyone else seen this wierd crystal bug
I am also putting a message in the status bar - and this hold true the
correct amount of time ?


private void ShowCrystalViewer(string rptName)
{
this.Cursor = Cursors.Waiting; //cursor set here (OK)

try
{
LoadCrystalRpt(rptName); //cursor goes back to normal here (why???) // this
operation takes the longest!
this.Cursor = Cursors.Waiting; // test setting cursor again (OK)
}
finally
{
//set cursor back to deafault
this.Cursor = Cursors.Waiting;
}

Thanks,
Glendon
 
Hi,

In addition to posting your question here, also look at
http://www.crystaldecisions.com/. Though it ships with Visual Studio,
Crystal Reports is supported by Crystal Decisions. They have a self-help
section and they offer phone & e-mail support. Their web sites states that
you get two Crystal incidents with the purchase of Visual Studio .NET.


Thanks very much for your understanding.


Best regards,

Ying-Shen Yu [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

This posting is provided "AS IS" with no warranties and confers no rights.
You should not reply this mail directly, "Online" should be removed before
sending.
 
Back
Top