[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Indicates if the mouse coordinates are within the drag threshold for the specified control.
Source position: controls.pp line 591
public function TDragManager.CanStartDragging( |
Site: TWinControl; |
AThreshold: Integer; |
X: Integer; |
Y: Integer |
):Boolean; virtual; abstract; |
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 threshold for the specified control in Site.
CanStartDragging must be implemented in a descendent class, like TDragManagerDefault.
lazarus-ccr.sourceforge.net |