mdgodfrey |
Posted - May 02 2024 : 15:10:24 I am trying to get a PopUpMenu where only viewing options exist on the menu. I have implemented the following code:
IEGlobalSettings().ImageViewingPopupMenu := [ivbImageSeek, ivbImagePrint, ivbImageZoom]; ImageEnView1.PdfViewer.ShowAllPages := True; ImageEnView1.PdfViewer.Enabled := True; ImageEnView1.MouseInteractGeneral := [miScroll, miPdfSelectText]; ImageEnViewToolbar1.ButtonMode := ievPdfViewing; ImageEnView1.PopupMenus := [ievPdfViewing];
When the I right click on the ImageEnView1 the popup menu contains the following:
Print Preview Zoom In Zoom Out Zoom To Full Size Fit Image To Width ------------------- Rotate Left Rotate Right Delete Page
Most of that isn't a problem, but it doesn't match what I expect. But the 'Delete Page' is a problem. I cannot find any code that allows me to remove it.
Also, I also would expect the Toolbar and the PopUpMenu to have the same things. The Toolbar displays as expected, but not the PopUp. |