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

Text Search Problem

edited October 2004 in General
I have a report (which I really don't want to
recreate). If I set TextSearchSettings.Enabled
to True on Report Before Print I get the
binoculars icon but it doesn't do anything?
If I set the Search Settings to Enabled in
the designer and check the show toolbar, I
can see the toolbar but it is out of sync
with the icon (icon is depressed when toolbar
is not visible). Any ideas why setting it
from the beforeprint event doesn't work?
D7E. Thanks.

Comments

  • edited October 2004
    Hi John,

    Unfortunately the Report.BeforePrint event fires too late to successfully
    create the text search dialog. You will need to enable the text search
    feature before calling Report.Print. I am not able to recreate the issue
    with the text search button and the dialog being out of sync. Are you
    setting the Enabled property at Delphi design time then simply printing a
    report to screen? I would suggest looking through your event handlers to be
    sure none of them could be altering the effects of this dialog.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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