This is not currently a built-in feature of ReportBuilder however it would make a nice addition.
In my testing, I was able to easily scroll to the search position by adding the following line of code to the HighlightPage routine of the TppTextSearchEngine class. In your case I would recommend creating a custom TextSearchEngine descendant and override this routine adding the code.
Comments
This is not currently a built-in feature of ReportBuilder however it would
make a nice addition.
In my testing, I was able to easily scroll to the search position by adding
the following line of code to the HighlightPage routine of the
TppTextSearchEngine class. In your case I would recommend creating a custom
TextSearchEngine descendant and override this routine adding the code.
Viewer.ScrollBox.VertScrollBar.Position :=
Trunc(ppFromMMThousandths(FCursorDrawCommand.Top, utScreenPixels,
Screen.PixelsPerInch));
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com