ImageEn, unit iesettings

TIEGlobalSettings.PopupMenuImageHue

TIEGlobalSettings.PopupMenuImageHue


Declaration

property PopupMenuImageHue: Integer;


Description

Allows you to modify the hue of glyphs in popup menus, which by default are blue.

The following values can be specified:
Value Description
0 Default blue color (#1E88E5)
-180 to +180 Default color is modified by the specified hue
-997 Colorful buttons (range of hues)
-998 Gray buttons
-999 Dark gray buttons
-900 All buttons are disabled (text only)

Default colors:


Default: 0

Note: To further customize the images, use the OnAddToolbarButtonImage event.


Example

// Remove popup images
IEGlobalSettings().PopupMenuImageHue := -900;

// Make popup images orange
IEGlobalSettings().PopupMenuImageHue := -175;

// Make popup images green
IEGlobalSettings().PopupMenuImageHue := -100;

// Make popup images aqua
IEGlobalSettings().PopupMenuImageHue := -20;

// Make popup images navy
IEGlobalSettings().PopupMenuImageHue := 20;

// Make popup images purple
IEGlobalSettings().PopupMenuImageHue := 65;

// Make popup images violet
IEGlobalSettings().PopupMenuImageHue := 80;

// Make popup images pink
IEGlobalSettings().PopupMenuImageHue := 100;

// Make popup images red
IEGlobalSettings().PopupMenuImageHue := 150;

// Make popup images gray
IEGlobalSettings().PopupMenuImageHue := -998;

// Make popup images dark gray
IEGlobalSettings().PopupMenuImageHue := -999;

// Make popup images varying colors
IEGlobalSettings().PopupMenuImageHue := -997;


See Also

ImageEditingPopupMenu
ImageSelectionPopupMenu
ImageViewingPopupMenu
LayerEditingPopupMenu
LayerSelectionPopupMenu
PdfEditingPopupMenu
PdfViewingPopupMenu
OnAddPopupMenuItem