Version 6.3.8 for Windows
 —  Dialog Component Reference  —

DRAG-MODE

Indicates which drag-drop operation types (if any) are supported by the dialog element when acting as the drag source.

The drag source is the control sourcing the data if Natural initiates the drag-drop operation automatically (e.g., for list box controls), or the control whose handle is passed to the PERFORM-DRAG-DROP action if the drag-drop operation is initiated manually.

Note that the symbolic drag mode constants listed below are defined in the local data area NGULKEY1, which is automatically used by all dialogs created within the dialog editor.

Applies to ActiveX control, bitmap control, list box control, list view control, tree view control.
Data Type I4
Default Value DM-NONE (0)
Possible Values

DM-NONE (0) = No drag operation supported
DM-COPY (1) = Copy operations supported
DM-MOVE (2) = Move operations supported
DM-COPYMOVE (3) = Copy and Move operations supported
DM-LINK (4) = Link operations supported
DM-COPYLINK (5) = Copy and Link operations supported
DM-MOVELINK (6) = Move and Link operations supported
DM-COPYMOVELINK (7) = Copy, Move and Link operations supported

Top of page