TRulerBox.OnRulerGripClick
Declaration
property OnRulerGripClick: TRulerGripClickEvent;
Description
Occurs when the user clicks on a grip.
procedure TForm1.RulerGripClick(Sender: TObject; RulerDir: TRulerDir; Grip: integer; GripPos: Double);
begin
case RulerDir of
rdHorizontal : ShowMessage( format( 'Grip %d clicked on horizontal ruler', [ Grip ]));
rdVertical : ShowMessage( format( 'Grip %d clicked on vertical ruler', [ Grip ]));
end;
end;