RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomMenuButton.BeginAutoDrag Method

Begin Automatic Drag.

Pascal
procedure BeginAutoDrag; override;
C++
virtual __fastcall BeginAutoDrag();

BeginAutoDrag is called automatically when a user drags a control whose DragMode is dmAutomatic. Do not call BeginAutoDrag in application code. 

As implemented in TControl, BeginAutoDrag calls BeginDrag, passing in the global Mouse variable's DragImmediate and DragThreshold properties. 

 

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