ImageEn, unit iexToolbars |
|
TCustomImageEnToolbar.ImageHue
Declaration
property ImageHue: Integer;
Description
Allows you to modify the hue of button glyphs in the toolbar, 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 |
-1000 | The global hue color is used, e.g. the hue property of ImageEditingToolbar |
Default: -1000
Note: To further customize the images, use the
OnAddButtonImage or
OnAddToolbarButtonImage events.
// Make toolbar buttons orange
ImageEnViewToolbar1.ImageHue := -175;
// Make toolbar buttons green
ImageEnViewToolbar1.ImageHue := -100;
// Make toolbar buttons aqua
ImageEnViewToolbar1.ImageHue := -20;
// Make toolbar buttons navy
ImageEnViewToolbar1.ImageHue := 20;
// Make toolbar buttons purple
ImageEnViewToolbar1.ImageHue := 65;
// Make toolbar buttons violet
ImageEnViewToolbar1.ImageHue := 80;
// Make toolbar buttons pink
ImageEnViewToolbar1.ImageHue := 100;
// Make toolbar buttons red
ImageEnViewToolbar1.ImageHue := 150;
// Make toolbar buttons gray
ImageEnViewToolbar1.ImageHue := -998;
// Make toolbar buttons dark gray
ImageEnViewToolbar1.ImageHue := -999;
// Make toolbar buttons images varying colors
ImageEnViewToolbar1.ImageHue := -997;