Drag

Description

Starts or ends the dragging of a control.

Applies to

DataWindow type

Method applies to

PowerBuilder

DataWindow control, DataWindowChild object

Syntax

PowerBuilder

integer dwcontrol.Drag ( DragMode dragvalue ) 

Argument

Description

dwcontrol

A reference to a DataWindow control or child DataWindow.

dragvalue

A value indicating the action you want to take on a control:

  • Begin! – Put dwcontrol in drag mode.

  • Cancel! – Stop dragging dwcontrol but do not cause a DragDrop event.

  • End! – Stop dragging dwcontrol and if dwcontrol is over a target object, cause a DragDrop event.

Usage

Inherited from DragObject. For information, see Drag in the PowerScript Reference.