CustomPreview on a tab sheet?
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
"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
This discussion has been closed.
Comments
TppViewer. Thanks anyway.
Mike Carroll