TIEMButtonParams.ImageHue
Declaration
property ImageHue: Integer;
Description
Modifies 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:
Note: You can customize or specify your own buttons using the
OnAddToolbarButtonImage event.
Default: 0
// Make buttons orange
IELayerMView1.ButtonParams.ImageHue := -175;
// Make buttons green
IELayerMView1.ButtonParams.ImageHue := -100;
// Make buttons aqua
IELayerMView1.ButtonParams.ImageHue := -20;
// Make buttons navy
IELayerMView1.ButtonParams.ImageHue := 20;
// Make buttons purple
IELayerMView1.ButtonParams.ImageHue := 65;
// Make buttons violet
IELayerMView1.ButtonParams.ImageHue := 80;
// Make buttons pink
IELayerMView1.ButtonParams.ImageHue := 100;
// Make buttons red
IELayerMView1.ButtonParams.ImageHue := 150;
// Make buttons gray
IELayerMView1.ButtonParams.ImageHue := -998;
// Make buttons dark gray
IELayerMView1.ButtonParams.ImageHue := -999;