Version 6.3.8 for Windows
 —  Dialog Component Reference  —

SUPPRESS-DRAG-DROP-EVENT

Determines whether or not the Drag-Drop Event will be suppressed for the dialog or dialog element. If it is suppressed, the dialog or dialog element will not get control when a drop occurs over the dialog or dialog element during a drag-drop operation.

For OLE drag-drop operations, the status of this attribute also determines whether a drop is currently possible when the dialog or dialog element is defined as a drop target (see the DROP-MODE attribute) and the drag cursor enters or traverses the area occupied by the dialog or dialog element during a drag-drop operation. If it is suppressed, a "no drop" drag cursor is displayed and no drop is allowed, even if the DROP-MODE attribute value would otherwise allow it. Therefore, by dynamically updating the status of this attribute during a drag-enter and/or drag-leave event, you can temporarily inhibit or allow a drop depending on the current context (e.g., position within the dialog or dialog element).

Applies to ActiveX control, bitmap control, control box control, dialog (all types), edit area control, list box control, list view control, tree view control.
Data Type I4
Default Value 1 (SUPPRESSED)
Possible Values 0 (NOT-SUPPRESSED) / 1 (SUPPRESSED)

Note:
You can use the symbols SUPPRESSED and NOT-SUPPRESSED defined in the local data area NGULKEY1. NGULKEY1 is automatically included in your application.

Top of page