Can someone tell me why the following code doesn't work for being able to move through a multipage PDF document with mouse or arrow keys?
Function TfrmPDFViewer.ViewPDF(aPDFName: String) : Boolean;
var
PDFFile: String;
begin
PDFFile := frmPreferences.DirRepository + '\Help\' + aPDFName;
ImageEnView1.PDFViewer.ShowAllPages := True;
ImageEnView1.Update();
ImageEnView1.Blank;
ImageEnView1.IO.LoadFromFilePDF(PDFFile);
end;
I have ShowAllPpages working in other places where I have an ImageEnView.
MouseInteractGeneral is set with [miScroll].
I am loading multipage documents and using buttons to move to other pages works.
I have moved ShowAllPages to several other locations in the program with no behavior difference.
So, just guessing that I am missing some other property?