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

Preview form / outline panel

edited June 2012 in General
I need to be able to save and restore the width and visibility of the
outline pane in default preview form.

From the PreviewFormClose event I can access the current settings with this
code:

TppPrintPreview(Report.PreviewForm).OutlineViewer.Visible
TppPrintPreview(Report.PreviewForm).OutlineViewer.Width

Problem is, setting these properties from the OnPreviewFormCreate event does
not work.

For example:

TppPrintPreview(Report.PreviewForm).OutlineViewer.Visible := False;

or

TppPrintPreview(Report.PreviewForm).OutlineViewer.Width := 250;

Comments

  • edited June 2012
    Hi Fredrik,

    To control the visibility of the Outline viewer, you will want to use
    the OutlineViewer.OutlineVisible property rather than Visible.

    It is not currently possible to manually control the width of the
    outline viewer from the report. I will research adding this capability
    for a later release.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.