FMX.Types.IControl.DragMode

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property DragMode: TDragMode read GetDragMode write SetDragMode;

C++

__property System::Uitypes::TDragMode DragMode = {read=GetDragMode, write=SetDragMode};

Properties

Type Visibility Source Unit Parent
property public
FMX.Types.pas
FMX.Types.hpp
FMX.Types IControl

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.

Implement GetDragMode and SetDragMode in order to get and set the DragMode property.

See Also