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

CustomPreview on a tab sheet?

edited November 2001 in General
The 6.0 announcement mentions that:
"5. The preview controls are now replaceable. A new plug-in architecture
provides this functionality via the new TppCustomPreview class.
Descendents can replace the preview controls displayed in both the
Preview form and in the Report Designer Preview tab."

At runtime in our app, we would like the preview to appear on a tab in one
of our dialogs, rather than in a separate preview form. It seems like the
new architecture might make this possible. But I haven't yet figured out
how to make it work. Specifically, it looks like the TabSheet has to be
passed to the TppCustomPreview descendent's constructor, but that
constructor is not called directly by our app. Or if I do call the
constructor myself, I can't see how to connect the descendent to the
TppReport object.

Any suggestions?

Mikc Carroll
Sigma Data Systems, Inc.
mcarroll@gosigma.com

Comments

  • edited November 2001
    Oops, I see I'm going the long way 'round the barn, all I need is a
    TppViewer. Thanks anyway.

    Mike Carroll
This discussion has been closed.