Vcl.Controls.TControl.DragMode
Delphi
property DragMode: TDragMode read GetDragMode write SetDragMode default dmManual;
C++
__property System::Uitypes::TDragMode DragMode = {read=GetDragMode, write=SetDragMode, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | protected | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TControl |
Description
Specifies how the control initiates drag-and-drop or drag-and-dock operations.
Use DragMode to control when the user can drag the control. Disable the drag-and-drop or drag-and-dock capability at run time by setting the DragMode property value to dmManual. Enable automatic dragging by setting DragMode to dmAutomatic. For more information about dmManual and dmAutomatic, see TDragMode.