ImageEn, unit iexRulers

TIEViewRulerParams.GripColorDefault

TIEViewRulerParams.GripColorDefault


Declaration

property GripColorDefault: TColor;


Description

Specifies the brush color of all grips.
This color will be assigned to any grips for which you have not set a custom color using HorzGripsColor or VertGripsColor.

Triangular grips showing with default color of light gray:



Notes:
- This value may be overridden by VCL theming colors. Set EnableTheming to false to prevent this
- You can set the pen color with GripPenColor

Default: cl3DLight


Example

// Set default color of grips to clSilver, but clRed to grips > 10
ImageEnView1.RulerParams.GripColorDefault := clSilver;
for i := 10 to ImageEnView1.RulerParams.HorzGripsCount - 1 do
  ImageEnView1.RulerParams.HorzGripsColor[ i ] := clRed;


See Also

- GripPenColor
- GripKindDefault
- GripWidth
- GripHeight