HourGlass is now showing up
Hi,
I've got a quite time-consuming query(takes up to 2 minutes to retrieve
data) and
when I invoke report.print, the hourglass cursor is not showing up in
preview form. It's showing OK when it invokes for the second time without
re-opening preview form(just changed auto-search criteria and re-run query).
Of course, I can put some code in to display hourglass while RB accessing
data, but should it work anyway, shouldn't it ?
Thanks,
Dmitry
I've got a quite time-consuming query(takes up to 2 minutes to retrieve
data) and
when I invoke report.print, the hourglass cursor is not showing up in
preview form. It's showing OK when it invokes for the second time without
re-opening preview form(just changed auto-search criteria and re-run query).
Of course, I can put some code in to display hourglass while RB accessing
data, but should it work anyway, shouldn't it ?
Thanks,
Dmitry
This discussion has been closed.
Comments
In my testing, the hourglass cursor showed up fine when printing a report to
screen and the cursor was over the Viewer window. Which version of
ReportBuilder are you using?
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I've got RB 6 ent,
Firebird 1.5,
Delphi 6 Ent.
I can see "Accessing data" in the Viewer's status bar, but cursor does not
change to hour glass.
Cheers,
Dmitry
try
Screen.Cursor := crHourGlass;
frmReportViewer.ShowModal;
finally
Screen.Curson := crDefault;
frmReportViewer.Free;
end;
I'm not sure why this is happening. I do not believe there were any changes
in this area between RB 6 and 7, but you may want to try downloading a trial
version of RB 7 to be sure. If you would like to see the code where the
cursor is set, see the TppPreview.PrintStateChangeEvent method inside the
ppPreview.pas file.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com