ImageEn, unit iesettings

TIEGlobalSettings.FolderMViewSelectionPopupMenu

TIEGlobalSettings.FolderMViewSelectionPopupMenu


Declaration

property FolderMViewSelectionPopupMenu: TImageEnMViewButtons;


Description

Specifies the items of the TImageEnFolderMView selection popup menu.
This menu is displayed when you right-click on a thumbnail in the control . You must add impSelection to PopupMenus.
The default items for this popup menu allow you to print and rotate the thumbnail.



To specify items for the popup menu that shows when right-clicking the background, use FolderMViewDefaultPopupMenu.

Note:
 For more in-depth customization of popup menu items, use the OnAddPopupMenuItem event
 To remove or change the hue to popup menu item glyphs, use PopupMenuImageHue


TImageEnMView Popup Menus

The following popup menus are available for TImageEnMView and its descendents:
 TImageEnMView, right-click the background: MViewDefaultPopupMenu
 TImageEnMView, right-click a thumbnail: MViewSelectionPopupMenu
 TImageEnFolderMView, right-click the background: FolderMViewDefaultPopupMenu
 TImageEnFolderMView, right-click a thumbnail: FolderMViewSelectionPopupMenu
 TImageEnLayerMView, right-click the background: LayerMViewDefaultPopupMenu
 TImageEnLayerMView, right-click a thumbnail: LayerMViewSelectionPopupMenu


Example

// Remove file operations from the right-click menu
IEGlobalSettings().FolderMViewSelectionPopupMenu := IEGlobalSettings().FolderMViewSelectionPopupMenu - [ [imbFileExecute, imbFileClipboard, imbFileProperties ];
ImageEnFolderMView1.PopupMenus := [ impDefault, impSelection ];


See Also

 PopupMenus
 PopupMenuImageHue
 OnAddPopupMenuItem