Hide ppPageStyle on last page
Hi, I have a print with summary on new page.
How i can hide, only for this last page, ppPageStyle ?
I tried to set it a 'psPageRange' end insert this event:
procedure Tsalf200d.ppStampaEndFirstPass(Sender: TObject);
begin
inherited;
ppPageStyle.EndPage := ppStampa.AbsolutePageCount - 1 ;
end;
but without results.
any idea?
thanks
How i can hide, only for this last page, ppPageStyle ?
I tried to set it a 'psPageRange' end insert this event:
procedure Tsalf200d.ppStampaEndFirstPass(Sender: TObject);
begin
inherited;
ppPageStyle.EndPage := ppStampa.AbsolutePageCount - 1 ;
end;
but without results.
any idea?
thanks
This discussion has been closed.
Comments
Try doing something like the following in the PageStyle.BeforePrint event...
if Report.SecondPass then
PageStyleBand.visible := Report.AbsolutePageNo <>
Report.AbsolutePageCount;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com