FMX.Presentation.Style.TStyledPresentation.BeginAutoDrag

From RAD Studio API Documentation

Delphi

procedure BeginAutoDrag; override;

C++

virtual void __fastcall BeginAutoDrag(void);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.Presentation.Style.pas
FMX.Presentation.Style.hpp
FMX.Presentation.Style TStyledPresentation

Description

Begins the drag operation automatically. {{#multireplace:FMX.Presentation.Style.TStyledPresentation.BeginAutoDrag|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.Controls.TControl.BeginAutoDrag|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FMX.Controls.TControl.BeginAutoDrag|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

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.

See Also