ImageEn, unit rulerbox
TRulerBox.GripsColor
TRulerBox
.GripsColor
Declaration
property GripsColor[g: integer]: TColor;
Description
Specifies the brush color of the grip, g.
Note: The default color of all grips is set by
GripColorDefault
. Use
GripsColor
to assign custom colors to specific grips.
You can set the pen color with
GripPenColor
Example
// Set default color of grips to clSilver, but clRed for grips > 10
RulerBox1.GripColorDefault := clSilver;
for i := 10 to RulerBox1.GripsCount - 1 do
RulerBox1.GripsColor[ i ] := clRed;