ImageEn, unit rulerbox

TRulerBox.GripKindDefault

TRulerBox.GripKindDefault


Declaration

property GripKindDefault: TGripKind;


Description

Specifies the default style for all grips.
This style will be assigned to any grips for which you have not set a custom style using GripsKind.

The width of the grip is specified by GripBaseDim.

Default: gkTriangle


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;