ImageEn, unit iexToolbars |
|
TIECustomToolbarParams.ImageHue
Declaration
property ImageHue: Integer;
Description
Allows you to modify the hue of button glyphs in ImageEn toolbars, which are blue by default.
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 |
Default Colors:
Default: 0
Note: To further customize the images, use the
OnAddButtonImage or
OnAddToolbarButtonImage events.
// Make toolbar buttons orange
IEGlobalSettings().ImageViewingToolbar.ImageHue := -175;
// Make toolbar buttons green
IEGlobalSettings().ImageViewingToolbar.ImageHue := -100;
// Make toolbar buttons aqua
IEGlobalSettings().ImageViewingToolbar.ImageHue := -20;
// Make toolbar buttons navy
IEGlobalSettings().ImageViewingToolbar.ImageHue := 20;
// Make toolbar buttons purple
IEGlobalSettings().ImageViewingToolbar.ImageHue := 65;
// Make toolbar buttons violet
IEGlobalSettings().ImageViewingToolbar.ImageHue := 80;
// Make toolbar buttons pink
IEGlobalSettings().ImageViewingToolbar.ImageHue := 100;
// Make toolbar buttons red
IEGlobalSettings().ImageViewingToolbar.ImageHue := 150;
// Make toolbar buttons gray
IEGlobalSettings().ImageViewingToolbar.ImageHue := -998;
// Make toolbar buttons dark gray
IEGlobalSettings().ImageViewingToolbar.ImageHue := -999;
// Make toolbar buttons images varying colors
IEGlobalSettings().ImageViewingToolbar.ImageHue := -997;