Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

DragDrop – PB Docs 2021 – PowerBuilder Library

DragDrop – PB Docs 2021

DragDrop

event (DataWindows)

Description

PowerBuilder only

Occurs when the user drags an object onto the control and releases
the mouse button to drop the object.

PowerBuilder event
information

Event ID: pbm_dwndragdrop

Argument

Description

source

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

row

Long by value. The number of the row the pointer was
over when the user dropped the object.

If the pointer
was 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 when the user dropped the
object.

Return Values

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

0 — Continue processing

Usage

Obsolete methods in
PowerBuilder

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

Examples

This example for the DragDrop event for a DataWindow checks whether
the source object is a DataWindow control. If so, it finds out the current
row in the source and moves it to the target:

See also

DragEnter

DragLeave

DragWithin


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x