TDragManager.CanStartDragging function
Indicates if the mouse coordinates are within the drag threshold for the specified control.
Declaration
function CanStartDragging(Site: TWinControl; AThreshold: Integer;
X: Integer; Y: Integer): Boolean; virtual
; abstractDescription
CanStartDragging is an abstract virtual
Boolean
function used to determine if the mouse has been moved beyond the threshold
that initiates a drag operation. The result is
True when the mouse
coordinates in X and Y are located within the client rectangle and within the
threshold for the specified control in
Site.
CanStartDragging must be implemented in a descendent class, like the
TDragManagerDefault class in the implementation for the unit.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
