Home General
New Blog Post: Email: Multi-Service

Find dialog on Customer Report Preview (TppViewer)

How to add/show Text Search/Find dialog on Custom Report Viewer (TppViewer)?


  • Hi Jayanto,

    The TextSearchPreview is designed to work inside the previewer however it is possible to assign it to a separate TPanel for quick use. Something like the following:
      FTextSearchPreview := TppTextSearchPreview.Create(Self);
    FTextSearchPreview.Viewer := ppViewer1;
    FTextSearchPreview.TextSearchSettings := ppReport1.TextSearchSettings;


    Best Regards,

    Nico Cizik
    Digital Metaphors
  • Thank you, it works.
  • Hello,
    1. Request: Property Text =''; better -> TextHint:='Find Text'
    2. In corrrect page positin on Find First/Next: if "ZoomSetting <> zs100Percent". How to fix this issue?

    Thank you
  • 1. The TextSearchSettings.DefaultText can be used to alter the initial text.

    2. I am unable to recreate this on my machine. As I mentioned before, the TextSearchPreview is not designed to work outside the TppPreview so you are using it at your own risk here. If you would like to create a simple example and send it to me, I will see if there is something that can be done. Send the example to support@ in .zip format.

    For a more robust solution, I suggest creating a custom Previewer that meets your specific needs, while still providing native TextSearch features built-in.

    Best Regards,

    Nico Cizik
    Digital Metaphors
Sign In or Register to comment.