TppViewer
I can't get the TppViewer to accept different height and Width values:
TppViewer(ppReort1.PreviewForm.Viewer).Height := value1;
TppViewer(ppReort1.PreviewForm.Viewer).Width := value2;
Also, when you go to the help and select the Height or Width properties you
get an error that it can't find the help file because it is looking for
Delphi 5 version of file rather than D6 (I'm running D6 and D6 version of
RB, latest build).
--
Regards,
John
www.barjohn.com
johng@barjohn.com
TppViewer(ppReort1.PreviewForm.Viewer).Height := value1;
TppViewer(ppReort1.PreviewForm.Viewer).Width := value2;
Also, when you go to the help and select the Height or Width properties you
get an error that it can't find the help file because it is looking for
Delphi 5 version of file rather than D6 (I'm running D6 and D6 version of
RB, latest build).
--
Regards,
John
www.barjohn.com
johng@barjohn.com
This discussion has been closed.
Comments
I thnk you want to assign this to the form, not the viewer (the viewer is
'Align'ed to client):
ppReort1.PreviewForm.Height := aHieght;
ppReort1.PreviewForm.Width := aWidth;
HTH,
Ed Dressel
Team DM