RB7.04: Text search in my Preview dialog.
Hi!
I'm try to test new in 7.04 RB feature "text search" in report:
I'm enable "Find Text settings" but I have own Preview form with TppViewer
component and own routine of Zoom/Pages/Print etc buttons on toolbar and
nothing to see on display.
How to add TextSearch panel in my own Preview form?
Thanks,
Nikolai
I'm try to test new in 7.04 RB feature "text search" in report:
I'm enable "Find Text settings" but I have own Preview form with TppViewer
component and own routine of Zoom/Pages/Print etc buttons on toolbar and
nothing to see on display.
How to add TextSearch panel in my own Preview form?
Thanks,
Nikolai
This discussion has been closed.
Comments
There are two options:
1. Create a custom TppPreview plug-in class and register it with
ReportBuilder. TppPreview is used by the built-in preview dialog and the
report designer. See RBuilder\Source\ppPreview.pas. The TppPreview class
creates and manages the viewer, viewer toolbar, text search, report outline,
etc.
2. The other option is to add the TextSearch to a custom preview form. This
is probably the approach you are using now.
www.digital-metaphors.com/tips/ReplaceFormAndAddSearch.zip
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Thanks!!!
With best regards,
Nikolai