DragSource

The DragSource logical widget is used to provide input for a drag-and drop action that transfers a value to a DropTarget widget. The data is transferred as a Uniface list.

For more information, see Specifying a Widget for a Field or Entity.

Logical widget name:

DragSource

Maps to physical widget:

udragdrop

Default definition:

DragSource=udragdrop(source=on;label=on;sourcefeedback=icon)

Supported triggers and properties:

See udragdrop.

Use for: String data

Description

A DragSource widget enables the user to click the left mouse button on the widget and drag the contents onto another widget acting as a drag target. When dragging starts, the Detail trigger is fired with $result set to StartDrag.

You cannot start dragging by grabbing the label. Instead, you must grab the icon.

Related Topics