• I am having problems with WPViewPDF switching in and out of Thumbnail mode. I always want to show thumbnails.
    I have PageModeDefault set to wpPageModeThumbnails
    I have ViewOptions with wpViewThumbNails set to true;
    I also have wpInteractiveThumbNails set to true;

    I also have this code executing after load a PDF:
    WpViewPDF1.ViewOptions := [ wpViewThumbnails ];
    WpViewPDF1.PageModeDefault := wpPageModeThumbnails;
    WpViewPDF1.CommandEx(COMPDF_SetPageModeDefault, 1);

    But still I have some PDF's that want to show no left bar, some want to show bookmarks and some want to show Thumbnails.
    It seems to be behaving as though PageModeDefault is set to Auto.

  • Final answer:
    My prior post was correct.
    The only way I can get left hand thumbnails (navigation panel) on every PDF is to do the following.
    Set PageModeDefault to wpPageModThumbNails.
    Then in code add the following, after each time a PDF is loaded:
    WpViewPDF1.CommandEx(COMPDF_ShowNavigation, 1);

    Without that line of code the left hand navigation comes and goes and I can't predict when.
    I have the property wpNavigationPanel set to True in the ViewControls as well, but without the above line in code it comes and goes.