Preview Plugin Question
I have a preview plugin (version 11.04 or 11.08 of the report writer
cannot remember which).
Developing in delphi 2010.
My preview plugin is inherited from TppPreview like below:
TxxPreviewPlugin = class(TppPreview)
My question: is there a way to determine, in the CreateToolBarItems (or
some similar event available on the preview plugin), that the report is
being edited in the designer or the report is just being previewed from
the preview form. I tried DesignState (was blank), Report (was nil),
FormDesigner (did not work).
Thanks
cannot remember which).
Developing in delphi 2010.
My preview plugin is inherited from TppPreview like below:
TxxPreviewPlugin = class(TppPreview)
My question: is there a way to determine, in the CreateToolBarItems (or
some similar event available on the preview plugin), that the report is
being edited in the designer or the report is just being previewed from
the preview form. I tried DesignState (was blank), Report (was nil),
FormDesigner (did not work).
Thanks
This discussion has been closed.
Comments
the Preview is created by the Designer. (TppPreview.Viewer.DesignViewer)
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com