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

DisableDragDrop – PB Docs 2021 – PowerBuilder Library

DisableDragDrop – PB Docs 2021

DisableDragDrop

property for PowerScript controls

Applies to

TreeView controls

Description

The DisableDragDrop property determines whether events for dragging,
such as BeginDrag, are triggered when the user clicks on an item within
the control and drags. DisableDragDrop affects only the dragging of items
within the control.

When DisableDragDrop is true, no drag events occur when the user
tries to drag an item. To implement drag and drop, write scripts for the
appropriate dragging events.

DisableDragDrop also affects when selection occurs. When it is true,
an item the user clicks is selected when the mouse button is pressed down.
When it is false, the item is selected when the mouse button is
released.

Usage

In a painter

To disable drag and drop within the TreeView control:

  • Select the DisableDragDrop check box on the General page of the
    control’s Properties view.

In scripts

The DisableDragDrop property takes a boolean value. The following
example prevents drag events from being triggered within a TreeView
control:


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