DragEnter – PB Docs 2018

DragEnter

PowerScript event

Description

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

Event ID

Event ID

Objects

pbm_bndragenter

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

pbm_cbndragenter

DropDownListBox,
DropDownPictureListBox

pbm_dragenter

DatePicker, MonthCalendar

pbm_dwndragenter

DataWindow

pbm_endragenter

SingleLineEdit, EditMask, MultiLineEdit, StaticText,
StaticHyperLink

pbm_lbndragenter

ListBox, PictureListBox

pbm_lvndragenter

ListView

pbm_omndragenter

OLE

pbm_prndragenter

HProgressBar, VProgressBar

pbm_rendragenter

RichTextEdit

pbm_sbndragenter

HScrollBar, HTrackBar, VScrollBar,
VTrackBar

pbm_tcndragenter

Tab

pbm_tvndragenter

TreeView

pbm_uondragenter

UserObject

pbm_dragenter

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 for a Picture control’s DragDrop event adds a border to
itself when another Picture control (the source) is dragged within its
boundaries:

See also

DragDrop

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