Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

HourGlass is now showing up

edited March 2004 in General
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

Comments

  • edited March 2004
    Typo, subject was 'HourGlass is not showing up'


  • edited March 2004
    Hi Dmitry,

    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?

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2004
    Hi Nico,

    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


  • edited March 2004
    why not do a

    try
    Screen.Cursor := crHourGlass;
    frmReportViewer.ShowModal;
    finally
    Screen.Curson := crDefault;
    frmReportViewer.Free;
    end;


  • edited March 2004
    Hi Dmitry,

    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.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.