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

DragLeave – PB Docs 2019 – PowerBuilder Library

DragLeave – PB Docs 2019

DragLeave

PowerScript event

Description

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

Event ID

Event ID

Objects

pbm_bndragleave

CheckBox, CommandButton, Graph, InkEdit, InkPicture,
Picture, PictureHyperLink, PictureButton,
RadioButton

pbm_cbndragleave

DropDownListBox,
DropDownPictureListBox

pbm_dragleave

DatePicker, MonthCalendar

pbm_dwndragleave

DataWindow

pbm_endragleave

SingleLineEdit, EditMask, MultiLineEdit, StaticText,
StaticHyperLink

pbm_lbndragleave

ListBox, PictureListBox

pbm_lvndragleave

ListView

pbm_omndragleave

OLE

pbm_prndragleave

HProgressBar, VProgressBar

pbm_rendragleave

RichTextEdit

pbm_sbndragleave

HScrollBar, HTrackBar, VScrollBar,
VTrackBar

pbm_tcndragleave

Tab

pbm_tvndragleave

TreeView

pbm_uondragleave

UserObject

pbm_dragleave

Window

Arguments

Argument

Description

source

DragObject by value (a reference to the control being
dragged)

Return Values

Long.

Return code choices (specify in a RETURN statement):

0 — Continue processing

Usage

Obsolete functions

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

Examples

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

This example for a Picture control’s DragDrop event removes its own
border when another Picture control (the source) is dragged beyond its
boundaries:

See also

DragDrop

DragEnter

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