Home Devices

Searching a Report Externally

edited October 2010 in Devices
I have created a Tform along with some buttons and a TppViewer. I wish
to add the functionality that when the user presses a particular
button, I popup a find dialog and then perform the search on the
underlying report. Note that the form is not inherited from a
TPreview.


Does anyone know how to perform this search externally, that is, by
pressing a button of a completly custom TForm containing the
TppPreview?

Comments

  • edited October 2010
    Check out ppPreview.pas in RBuilder\Source. Search the unit for occurrences
    of FTextSearch.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.