Designer embeded in a Panel
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/
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/
This discussion has been closed.
Comments
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.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com