Home Devices
New Blog Posts: Merging Reports - Part 1 and Part 2

Getting Text Searching working

edited April 2009 in Devices
How can I implement Text Searching from a Custom Print Preview form? Delphi
2009 / ReportBuilder 11.03.

I've looked at what is in the older tutorials, but it doesn't seem to work
for 2009 at least -?.

Comments

  • edited April 2009

    I recommend creating a 'custom preview plug-in' rather than a custom preview
    form.

    A preview plug-in descends from TppPreview. It defines and manages all the
    UI elements require for preview: Viewer, Toolbar, Outline, Text Search
    controls etc.

    Once you register your custom preview plug-in, it will automatically be used
    by RB's Preview Dialog and the Preview tab of the Report Designer.

    The source code the ancestor is located in ppPreview.pas, the code is
    heavily commented.

    Here is a simple example...

    http://www.digital-metaphors.com/rbWiki/Output/Preview/How_To...Add_a_Button_to_the_Preview




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

    Best regards,

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