Outline Drawing problem
Hi
I am using Delphi 7 and RB Ent 7.04. I have a fairly complicated report (a
duplex printed back page etc) in which I am trying to put some outlines (a
rectangular shape) in group footers to contain some text. I am however
getting the following error
Exception EOutline error : TppPage.AddDrawCommand: cannot add more than one
draw outline command per page.
I have found reference to a similar problem to this in a newgroup reply from
Nico Cizik on Jan 8 2004
I am using Delphi 7 and RB Ent 7.04. I have a fairly complicated report (a
duplex printed back page etc) in which I am trying to put some outlines (a
rectangular shape) in group footers to contain some text. I am however
getting the following error
Exception EOutline error : TppPage.AddDrawCommand: cannot add more than one
draw outline command per page.
I have found reference to a similar problem to this in a newgroup reply from
Nico Cizik on Jan 8 2004
This discussion has been closed.
Comments
Hi
I am using Delphi 7 and RB Ent 7.04. I have a fairly complicated report (a
duplex printed back page etc) in which I am trying to put some outlines (a
rectangular shape) in group footers to contain some text. I am however
getting the following error
Exception EOutline error : TppPage.AddDrawCommand: cannot add more than one
draw outline command per page.
I have found reference to a similar problem to this in a newgroup reply
from
Nico Cizik on Jan 8 2004
I am wondering if the patch mentioned will resolve my problem or if there is
another solution.
Regards
Tim Murfitt
The outline is designed to reside in a panel to the left of the report in
the preview window. It is not possible to add this drawcommand to a band in
a report. The reason you are getting the error is due to the fact that you
are trying to add this drawcommand when it has already been added.
Have you taken a look at the outline that is built into ReportBuilder? I
would recommend using this rather than trying to generate your own as it
would be much easier and it is designed to work with ReportBuilder.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks for this. It had not occurred to that the outline referred to in the
error message was the one in the side panel. I thought it was something to
do with shapes. My default settings have outlines enabled so once I had
turned them off for this report the problem was fixed.
Regards
Tim