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

DragAuto – PB Docs 2021 – PowerBuilder Library

DragAuto – PB Docs 2021

DragAuto

property for PowerScript controls

Applies to

Draggable controls

Description

The DragAuto property determines whether PowerBuilder puts the
control into drag mode automatically. If the property is enabled, when the
user clicks the control and starts dragging it, PowerBuilder puts the
control in drag mode. Clicking the control triggers a DragDrop event, not
a Clicked event.

If DragAuto is not enabled, then when the user clicks the control,
PowerBuilder does not put the control in drag mode. You have to call the
Drag function to put the control into drag mode.

Usage

In a painter

To set DragAuto:

  • Select the DragAuto check box on the Other tab page of the
    control’s Properties view.

In scripts

Most controls have a DragAuto property. It takes a boolean value.
The following example sets drag mode for a CommandButton.


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