Home General

Embedding the Designer in a TFrame object

edited July 2001 in General
Hello,

I'm doing some tests with delphi5 and ReportBuilder 5.56 Professional
Edition.
Everything works fine until I try to embed the Designer to a TFrame object
by setting the Designer.Form.Parent to a Panel inside the TFrame.
If I try to add any object to the detail band at run-time I get an
EOutOfResource or EAccessViolation error.

What is the problem ??


Markus Greve
CrossSOFT
Kiel, Germany

Comments

  • edited July 2001
    From our release notes:


    2. Issues with Frames



    Delphi 5 Frames (TFrame) are containers that enable collections of
    components to be visually configured and re-used. Unlike form inheritance,
    however, Delphi 5 does not permit new components to be added to frame
    descendants (i.e. frames embedded on forms or other frames).



    Therefore, if a Report object is placed on a frame, the report layout must
    be maintained entirely in the top level ancestor. You cannot access a form
    containing the frame and add report components, nor can new report layouts
    be loaded from templates.



    ReportBuilder's DBPipeline and BDEPipeline components cannot currently be
    used with frames. Both of these components automatically create Field
    components (i.e. AutoCreateFields) when a dataset is opened. This behavior
    will cause access violations if a data pipeline is placed in a descendant
    frame.



    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.