System.UITypes.TDragMode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TDragMode = (dmManual, dmAutomatic);

C++

enum class DECLSPEC_DENUM TDragMode : unsigned char { dmManual, dmAutomatic };

Properties

Type Visibility Source Unit Parent
enum public
System.UITypes.pas
System.UITypes.hpp
System.UITypes System.UITypes

Description

TDragMode indicates how a control initiates drag operations.

TDragMode can have one of the following values:

Value Meaning

dmAutomatic

The control begins a drag operation automatically when the user clicks and drags it.

dmManual

The control cannot be dragged until the application calls the BeginDragDrop method.

Automatic drag is implemented in the BeginAutoDrag method.

See Also