Find Text error
We're using Delphi 2007 and RB Enterprise 10.08, although as far as I can
tell the error is a part of 10.07 as well.
While previewing a report in the Report Designer at run-time, using the
"Find Text" feature, and returning to the "Design" tab, a "list out of
bounds" error is generated. This seems to happen only when text is actually
located.
It seem to come from:
procedure TppTextSearchEngine.HighlightPage(aPage: TppPage);
Thanks,
Leah
tell the error is a part of 10.07 as well.
While previewing a report in the Report Designer at run-time, using the
"Find Text" feature, and returning to the "Design" tab, a "list out of
bounds" error is generated. This seems to happen only when text is actually
located.
It seem to come from:
procedure TppTextSearchEngine.HighlightPage(aPage: TppPage);
Thanks,
Leah
This discussion has been closed.
Comments
I am unable to recreate this error on my machine. Below are the steps I
took. Please let me know how I can alter them to recreate the error.
1. Created a new project, added a report, designer, and button to a form.
2. Added the Customers table to the report and placed a DBText in the
detail band.
3. Ran the designer, tabbed to the preview window. Searched for some text
which it found then tabbed back to the design window.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
RB 10.08 contains a fix for a text search issue that occured in 10.07,
please see the RB 10.08 Release.doc for a list of bug fixes.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
As far as i can tell, this is the crucial property. For me, it's set like
that by default, and not changed at runtime:
FReport.TextSearchSettings.SearchFromCurrentPage := True;
Leah
More specifically, I tested this by adding an OnLoadEnd event to your RAP
project, and set the following:
FReport.TextSearchSettings.Enabled := True;
FReport.TextSearchSettings.Visible := True;
FReport.TextSearchSettings.SearchFromCurrentPage := True;
Leah
I'm sorry but I'm still unable to recreate this error. Toggling the
SearchFromCurrentPage property does not seem to make a difference. Are you
able to see this with a minimal example?
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
right now to work on it.
Leah
I was able to replicate the error using a minimal example.
Do you want my project?
Leah
Yes, please send the example in .zip format to support@digital-metaphors.com
and I'll take a look at it for you.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com