Sign in Join
FPDoc Onlineexperiment

TControl.BeforeDragStart procedure

Member of TControlprotectedIn unit Controls

Performs actions needed before a drag operation is started for the control.

Declaration

pascal
procedure BeforeDragStart; virtual

Description

BeforeDragStart has an empty implementation in TControl. The virtual method can be overridden in descendent classes to perform the actions needed. Some common actions include updating control flags or checking for a valid Handle before starting the drag operation.

BeforeDragStart is called from the DragStart method in TDragManager.

See also

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