DragEnter  DragWithin

Chapter 8: DataWindow Events

DragLeave

Description

Occurs when the user is dragging an object and leaves the control.

PocketBuilder event information Event ID: pbm_dwndragleave

Argument

Description

source

DragObject by value. A reference to the control being dragged.

Returns

There are no special outcomes for this event. The only code is:

Examples

Example 1

This example checks the name of the control being dragged and if it is dw_1, it cancels the drag operation:

IF ClassName(source) = "dw_1" THEN
		dw_1.Drag(Cancel!)
END If

See also





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

View this book as PDF