RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMouse.DragThreshold Property

Specifies the number of pixels that the left mouse button must be moved in order to cause a drag operation.

Pascal
property DragThreshold: Integer;
C++
__property int DragThreshold;

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.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!