ImageEn, unit rulerbox

TRulerBox.GripsKind

TRulerBox.GripsKind


Declaration

property GripsKind[g: integer]: TGripKind;


Description

Specifies the style of the grip, g (triangle, arrow, etc).


Note:
The default style for grips is specified by GripKindDefault. Use GripsKind when you want individual grips with different styles.
The width of the grip is specified by GripBaseDim.


Example

// Set default style of grips to gkTriangle, but gkArrow2 to grips > 10
RulerBox1.GripKindDefault := gkTriangle;
for i := 10 to RulerBox1.GripsCount - 1 do
  RulerBox1.GripsKind[ i ] := gkArrow2;