TRulerBox.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
GripsColor.
Note:
◼You can set the pen color with
GripPenColor
◼If a standard color, such as clBtnFace is used, it may be overridden by VCL theming colors. Set
EnableTheming to false to prevent this
Default: clBtnFace
// Set default color of grips to clSilver, but clRed to grips > 10
RulerBox1.GripColorDefault := clSilver;
for i := 10 to RulerBox1.GripsCount - 1 do
RulerBox1.GripsColor[ i ] := clRed;