Sign in Join
FPDoc Onlineexperiment

TWinControl.DoDragMsg function

Member of TWinControlprotectedIn unit Controls

Dispatches a drag message, sent by the DragManager.

Declaration

pascal
function DoDragMsg(ADragMessage: TDragMessage; APosition: TPoint; 
 ADragObject: TDragObject; ATarget: TControl; 
 ADocking: Boolean): LRESULT; override

Description

On dmFindTarget, a TWinControl returns the child control under the mouse, or Self if none is found.

All other messages are handled by the inherited DoDragMsg method.

See also

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