ImageEn, unit iesettings

TIEImageEnGlobalSettings.LayerEditingPopupMenu

TIEImageEnGlobalSettings.LayerEditingPopupMenu


Declaration

property LayerEditingPopupMenu: TImageEnViewButtons;


Description

Specifies the items of the Layer Editing popup menu.
The default items for this popup menu allow you to add and edit layers, such as merging, grouping and deleting.



The Layer Editing popup menu appears over a TImageEnView if:
- PopupMenus includes ievLayerEditing
- A selection has not been clicked on
- A layer has not been clicked on

Notes:
- 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


Example

// Add open and save items to layer editing menu
IEGlobalSettings().LayerEditingPopupMenu := IEGlobalSettings().LayerEditingPopupMenu + [ ivbLayersOpen, ivbLayersSave ];
ImageEnView1.PopupMenus := [ ievLayerEditing ];


See Also

- PopupMenus
- ImageEditingPopupMenu
- ImageSelectionPopupMenu
- ImageViewingPopupMenu
- LayerSelectionPopupMenu
- PopupMenuImageHue
- OnAddPopupMenuItem