Vcl.Controls.TMouse.DragThreshold
Delphi
property DragThreshold: Integer read FDragThreshold write FDragThreshold default 5;
C++
__property int DragThreshold = {read=FDragThreshold, write=FDragThreshold, default=5};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TMouse |
Description
Specifies the number of pixels that the left mouse button must be moved in order to cause a drag operation.
Use DragThreshold to specify the number of pixels that the mouse cursor must be moved with the left mouse button down in order to initiate a drag operation. DragThreshold only has an effect if the DragImmediate property is false.
Note: DragThreshold must be greater than or equal to zero. Negative values are treated as 0.