DragAuto – PB Docs 150

DragAuto property for PowerScript controls

Controls

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

proc.png To set DragAuto:

  1. 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
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x