Text Search Problem
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.
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.
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com