TppShape in RAP
Hi,
In RAP, I'm trying to create a 'Legend' in the footer of a report, but it
can't be created until after all the data has been traversed. Can I create
this in RAP? It seems the only place I can successfully create report
components is in Report.BeforePrint and this isn't possible for this report.
Am I missing something? I'm using something like the following:
var
lBox : TppShape;
begin
lBox := TppShape.create(rgnFooter);
lBox.left := 0;
lBox.Pen.Color := clBlack;
lBox.Brush.Color := clRed;
lBox.Region := rgnFooter;
lbox.Width := 1;
lbox.Height := 1;
end;
Thanks,
Leah
In RAP, I'm trying to create a 'Legend' in the footer of a report, but it
can't be created until after all the data has been traversed. Can I create
this in RAP? It seems the only place I can successfully create report
components is in Report.BeforePrint and this isn't possible for this report.
Am I missing something? I'm using something like the following:
var
lBox : TppShape;
begin
lBox := TppShape.create(rgnFooter);
lBox.left := 0;
lBox.Pen.Color := clBlack;
lBox.Brush.Color := clRed;
lBox.Region := rgnFooter;
lbox.Width := 1;
lbox.Height := 1;
end;
Thanks,
Leah
This discussion has been closed.
Comments
Don't know how i missed it the first, second and third times i looked.
Leah