Viewer Compile error

  • Just downloaded the newest version and installed in Delphi (2007)
    got following error :

    Code
    if wpShowPageSelection in x then inc(a, 16);  if wpShowPageMultiSelection in x then inc(a, 32);
    Code
    [DCC Fehler] WPViewPDF1.pas(365): E2003 Undefinierter Bezeichner: 'wpShowPageSelection'
    [DCC Fehler] WPViewPDF1.pas(366): E2003 Undefinierter Bezeichner: 'wpShowPageMultiSelection'

    i replaced in both lines the show from wpShow....
    after that compiledwithout errors ...

    • Offizieller Beitrag

    Hi,

    The SET schold be defined as

    TWPPDFViewOption =
    (
    wpDontUseHyperlinks,
    wpDontHighlightLinks,
    wpDontAskForPassword,
    wpSelectClickedPage,
    wpShowPageSelection,
    wpShowPageMultiSelection,
    wpEnableSmartThumbs,
    wpAllowFormEdit, // - reserved
    wpDisablePagenrHint,
    wpDisableZoomHint,
    wpDisableBookmarkView // Only V2
    );

    I just checked it - this is the source which is embedded by the setup script.

    Do you have a different declaration?

    Regards,

    Julian