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

DraggedObject (obsolete) – PB Docs 2019 – PowerBuilder Library

DraggedObject (obsolete) – PB Docs 2019

DraggedObject (obsolete)

Description

Returns a reference to the control that triggered a drag
event.

Obsolete function

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

Syntax

Return value

DragObject, a special datatype that includes all draggable controls
(all the controls but no drawing objects). Returns a reference to the
control that is currently being dragged.

No control

If no control is being dragged, an execution error message is
displayed.

Usage

Call DraggedObject in a drag event for the target object. The drag
events are DragDrop, DragEnter, DragLeave, and DragWithin. Use TypeOf to
obtain the datatype of the control. To access the properties of the
control, you can assign the DragObject reference to a variable of that
control’s datatype (see the example).

Examples

These statements set which_control equal to the datatype of the
control that is currently being dragged, and then set ls_text_value to the
text property of the dragged control:

See also

Drag

TypeOf


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