Starts or ends the dragging of a control.

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: 
 
  | 
Returns 1 if it succeeds and -1 if an error occurs.
Inherited from DragObject. For information, see Drag in the PowerScript Reference.