Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

TppViewer

edited August 2001 in General
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

Comments

  • edited August 2001
    > TppViewer(ppReort1.PreviewForm.Viewer).Height := value1;

    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
This discussion has been closed.