DragWithin

Description

PowerBuilder only

Occurs when the user is dragging an object within the control.

PowerBuilder event information

Event ID: pbm_dwndragleave

Argument

Description

source

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

row

Long by value. The number of the row the pointer is over.

If the pointer is not over a row, the value of the row argument is 0. For example, row is 0 when the pointer is outside the data area, in text or spaces between rows, or in the header, summary, or footer area.

dwo

DWObject by value. A reference to the control under the pointer within the DataWindow.


Return codes

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

0 -- Continue processing

Usage

The DragWithin event occurs repeatedly as the mouse moves within the control.

Obsolete methods in PowerBuilder

You no longer need to call the DraggedObject method in a drag event. Use the source argument instead.

See also

DragDrop

DragEnter

DragLeave