FMX.Controls.TControl.BeginAutoDrag
Delphi
procedure BeginAutoDrag; virtual;
C++
virtual void __fastcall BeginAutoDrag(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.Controls.pas FMX.Controls.hpp |
FMX.Controls | TControl |
Description
Begins the drag operation automatically.
BeginAutoDrag is called automatically when a user drags a control whose DragMode is dmAutomatic
. Do not call BeginAutoDrag in application code.
Write an event handler for OnDragOver to specify what happens when a dragged object is over the area of the current control.