Controls.TControl.DragMode
From RAD Studio VCL Reference
Contents |
Delphi Information
From Controls.pas
property DragMode: TDragMode read GetDragMode write SetDragMode;
Unit: Controls
Type: property
Visibility: protected
Member Of: TControl
C++ Information
From Controls.hpp
__property Controls::TDragMode DragMode = {read=GetDragMode,write=SetDragMode};
Unit: Controls
Type: property
Visibility: protected
Member Of: TControl
Description
Determines 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 runtime by setting the DragMode property value to dmManual. Enable automatic dragging by setting DragMode to dmAutomatic. See TDragMode for a description of dmManual and dmAutomatic.
See Also
Code Samples