Describe  Filter

Chapter 9: Methods for the DataWindow Control

Drag

Description

Starts or ends the dragging of a control.

Syntax

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.

Returns

Returns 1 if it succeeds and -1 if an error occurs.

Usage

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





Copyright © 2004. Sybase Inc. All rights reserved. Filter

View this book as PDF