TRulerBox.OnRulerGripDblClick
TRulerBox.OnRulerGripDblClick
Declaration
property OnRulerGripDblClick: TRulerGripClickEvent;
Description
Occurs when the user double-clicks a grip.
Example
procedure TForm1.RulerGripDblClick(Sender: TObject; RulerDir: TRulerDir; Grip: Integer; GripPos: Double);
begin
case RulerDir of
rdHorizontal : ShowMessage( Format( 'Grip %d double-clicked on horizontal ruler', [ Grip ]));
rdVertical : ShowMessage( Format( 'Grip %d double-clicked on vertical ruler', [ Grip ]));
end;
end;
See Also
◼OnRulerGripClick
◼OnRulerClick