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

ZoomSetting not recognized identifier

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

  • 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.