Sign in Join
FPDoc Onlineexperiment

TControl.OnStartDrag property

Member of TControlprotectedIn unit Controls

Event handler signalled for the start of a dragging operation.

Declaration

pascal
property OnStartDrag: TStartDragEvent read FOnStartDrag write FOnStartDrag;

Description

OnStartDrag is a TStartDragEvent property with the event handler signalled when a drag operation is started for the control. Use the event handler to perform actions needed when the drag operation is started, such customizing the drag cursor or initializing related drag event handlers.

The Sender argument is the TControl instance for the event notification.

The DragObject argument returns the TDragControlObject allocated by the drag manager when the drag operation was started.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.