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

Designer embeded in a Panel

edited February 2004 in General
Hi.

I would like to put the ReportBuilder Designer inside a Panel, and it
looks nice when I'm using the code below:

MyDesigner := TppDesigner.Create(self);
MyDesigner.Report := ppReport1;
MyDesigner.Form.Parent := Panel2;
MyDesigner.Form.Align := alClient;
MyDesigner.Form.BorderStyle := bsNone;
MyDesigner.Show;

It looks very promising, but when I try to add a component to the report I
get "Access vialoation" and "Unable to insert item" and sometimes the
error message "Out of resources" displays.

Any ideas?

Thanks in advance,
Arild Bøifot

--
Sender med M2, Operas revolusjonerende e-postprogram: http://www.opera.com/

Comments

  • edited February 2004
    Arild,

    Unfortunately, one of the limitations of the Designer is that you cannot
    embed it inside another control. The main reason for this is the way our
    toolbars communicate with the Windows API.

    --
    Best Regards,

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