FMX.Controls.TControl.DragMode
Delphi
property DragMode: TDragMode read GetDragMode write SetDragMode default TDragMode.dmManual;
C++
__property System::Uitypes::TDragMode DragMode = {read=GetDragMode, write=SetDragMode, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Controls.pas FMX.Controls.hpp |
FMX.Controls | TControl |
Description
Specifies how the control initiates drag-and-drop operations.
Use DragMode to control when the user can drag the control. Disable the drag-and-drop capability at run time by setting the DragMode property value to dmManual
. Enable automatic dragging by setting DragMode to dmAutomatic
.
See Also
- System.UITypes.TDragMode
- FMX.Controls.TControl.OnDragDrop
- FMX.Controls.TControl.OnDragEnd
- FMX.Controls.TControl.OnDragEnter
- FMX.Controls.TControl.OnDragLeave
- FMX.Controls.TControl.OnDragOver
- FMX.Controls.TControl.DragDrop
- FMX.Controls.TControl.DragEnd
- FMX.Controls.TControl.DragEnter
- FMX.Controls.TControl.DragLeave
- FMX.Controls.TControl.DragOver
- FMX.Controls.TControl.BeginAutoDrag
- FMX.Controls.TControl.GetDragMode
- FMX.Controls.TControl.SetDragMode
- FMX.Controls.TControl.IsDragOver