Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
General
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
ZoomSetting not recognized identifier
rbuser
January 2002
edited January 2002
in
General
I am using the following code in a PreviewFormCreate event:
(rbInput.PreviewForm.Viewer).ZoomSetting := zs100Percent;
I have ppViewr in my uses clause, as instructed in the online Help.
Have I done something incorrectly?
Comments
rbuser
January 2002
edited January 2002
Wayne,
You need to be casting rbInput.PreviewForm.Viewer as a TppViewer, not just
enclosing it in parenthesis, thus:
TppViewer(rbInput.PreviewForm.Viewer).ZoomSetting
---------------------------------
Robert Leahey
robert@thoughtsmithy.com
This discussion has been closed.
Comments
You need to be casting rbInput.PreviewForm.Viewer as a TppViewer, not just
enclosing it in parenthesis, thus:
TppViewer(rbInput.PreviewForm.Viewer).ZoomSetting
---------------------------------
Robert Leahey
robert@thoughtsmithy.com