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

AV when using a custom preview plugin

edited December 2015 in General
Hello,
another issue I just discovered (RB 16.01, Delphi XE7):
when showing the reports in a custom viewer plugin, an AV occurs on the
first pass in

ppViewr, TppViewer.Resize
at "if GetParentForm(Self).WindowState = wsMinimized then Exit;"
because "GetParentForm(Self)" returns nil on the first pass.

If I add the check "if assigned(GetParentForm(Self)) then begin", it
works fine.

Do I have to change a setting somehwere so that it works without the
check, or is (was) this a bug?

Best regards,
Mark

Comments

  • edited December 2015
    Hi Mark,

    The resize logic has been redesigned for RB 17 and this issue has been
    resolved.

    Moving forward we hope you will consider upgrading to ReportBuilder 17
    with subscription. This will ensure that you always have the latest
    fixes, enhancements, and features.

    Best Regards,

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