API:Vcl.Forms.TCustomForm.BeginAutoDrag
Delphi
procedure BeginAutoDrag; override;
C++
DYNAMIC void __fastcall BeginAutoDrag();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TCustomForm |
Description
Begins automatic drag.
Vcl.Forms.TCustomForm.BeginAutoDrag inherits from Vcl.Controls.TControl.BeginAutoDrag. All content below this line refers to Vcl.Controls.TControl.BeginAutoDrag.
Begins automatic drag.
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.