Home End User

Custop Print Preview

edited April 2003 in End User
Hello,

I've done a custom print preview form. It works great but I would like to
have all the features that I can find in the standard print preview. I don't
know how to search inside the report and how to get the list of all pages
and group header displayed in the left part of the standard form.

Any clues ?
Thanx

Julien

Comments

  • edited April 2003
    See the previous post. You can cancel a post from outlook express by
    choosing the message and selecting Message | Cancel Message menu option.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited April 2003

  • edited April 2003
    Maybe you don't see this response to the first thread:

    "Here is an example of adding the text search feature to a custom preview
    form for RB 7.02 (you need 7.02 for this demo to work). I don't have an
    outline demo available yet. Essentially, start with this demo and look at
    ppPreview.pas for the references to the outline viewer and copy code from
    ppPreview to the new form's event handlers as I did with the text search
    feature. It should be pretty straight forward, since I setup the accessory
    panel where the outline is going to go for you already in this tip, modeled
    after the standard preview we create in ppPreview.pas.

    http://www.digital-metaphors.com/tips/CustomPreviewFormWithSearch.zip



    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited April 2003
    how is it possible to enhance that sample to put in the outline-feature in
    the custom preview?
    chris

  • edited April 2003
    We haven't coded an example of this. You'll have to create a
    TppOutlineViewer and have it parented by the AccessoryPanel in the demo.
    See your installed RBuilder/ppPreview.pas for an example on creating a
    TppOutlineViewer in code and the timing of events to configure it, by
    modeling it after our source's implementation.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.