Begin-Drag Event

This document covers the following topics:


Applies To

ActiveX Controls, Bitmap Control, List Box Control, List View Control, Tree View Control.

Description

If not suppressed, this event is received by the drag source (see the DRAG-MODE attribute) when a drag-drop operation is initiated (either automatically by Natural, or manually by the application via the PERFORM-DRAG-DROP action).

Applications must respond to this event to by calling the SET-CLIPBOARD-DATA action to place some data on the drag-drop clipboard, otherwise Natural implicitly cancels the drag-drop operation.

Note that the application does not need to call either of the OPEN-CLIPBOARD or CLOSE-CLIPBOARD actions in this case.