Dymanically Created Bands?
Hi There,
Sorry if this is the wrong newsgroup but I'm new here!
I've not touched RBuilder for ages and so I'm going around in circles. Can
someone tell me how I might be able to dynamically add a Title band to the
report designer and place a bitmap in it? The idea is that when the user
creates a new report from the ppReportExplorer they'll find the Title band
in the report designer already populated with the company name and logo.
I'm using D5 and RB6.02
Thanks,
Robby
Sorry if this is the wrong newsgroup but I'm new here!
I've not touched RBuilder for ages and so I'm going around in circles. Can
someone tell me how I might be able to dynamically add a Title band to the
report designer and place a bitmap in it? The idea is that when the user
creates a new report from the ppReportExplorer they'll find the Title band
in the report designer already populated with the company name and logo.
I'm using D5 and RB6.02
Thanks,
Robby
This discussion has been closed.
Comments
template event OnNew:
procedure TmyEndUserSolution.FormCreate(Sender: TObject);
begin
ppReport1.Template.OnNew := NewReportEvent;
end;
procedure TmyEndUserSolution.NewReportEvent(Sender: TObject);
begin
ppReport1.Template.FileName := ExtractFilePath(ParamStr(0)) +
'BaseReport.rtm';
ppReport1.Template.LoadFromFile;
end;
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com