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

Plugin Preview Help!

edited February 2003 in General
In a current MDI application we had a CustomPreview form that we are using
for our print previews.
To use some of the new features of RB 7 we took out the CustomerPeview and
added a PreviewPlugin.
I started by using your MyPreviewPlugIn.pas file to get me started.

I would like to changed some items and I need some help with it.

1. Change the PreviewPlugin to an MDI form.
2. Change to glyphs on the to match the ones I was using in our
CustomPreview form. (I have the glyph files) .

Thanks,
Paul Klomp

Comments

  • edited February 2003
    The plugin creates the controls on the form. The form is replacable. See the
    RB Tutorials Complete directory in the installation for an example of
    replacing the form itself. This doesn't use the TppPreviewPlugin
    architecture. If you want to use the preview plugin architecture, then see
    the MDI directory in the RBuilder\Demos\End User\MDI. Look in the mdiForm
    unit in the TfrmMDIParent.spbPreviewClick method for an example of creating
    a preview plugin in an MDI form.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.