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
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