You can change the caption of the Preview Form by setting the Report.PreveiwForm.Caption property inside the OnPreviewFormCreate event. Something like the following...
procedure TForm.ppReportPreviewFormCreate(Sender: TObject); begin ppReport.PreviewForm.Caption := 'Preview This'; end;
In the same event you will need to set the Report.PreviewForm.Icon property to the icon of your choice. The Report.PreviewForm is a TForm descendent so it contains all the same properties and methods that a regular form does.
Comments
You can change the caption of the Preview Form by setting the
Report.PreveiwForm.Caption property inside the OnPreviewFormCreate event.
Something like the following...
procedure TForm.ppReportPreviewFormCreate(Sender: TObject);
begin
ppReport.PreviewForm.Caption := 'Preview This';
end;
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
In the same event you will need to set the Report.PreviewForm.Icon property
to the icon of your choice. The Report.PreviewForm is a TForm descendent so
it contains all the same properties and methods that a regular form does.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com