DragIcon – PB Docs 150

DragIcon property for PowerScript controls

Controls

Draggable controls

Description

The DragIcon property specifies the icon to display when the
user drags the control. The default icon is a box the size of the
control. When the user drags a control, the icon displays when the
cursor is over an area in which the user can drop the control (a
valid drop area). When the cursor is over an area that is not a
valid drop area, the no-drop icon displays.

Usage

In a painter

proc.png To specify the drag icon:

  1. Display the Other tab page of the control’s
    Properties view.

  2. Click the down arrow on the DragIcon field and
    select a stock icon from the list of stock icons, or use the Browse
    button to select another icon (.ICO) file.

In scripts

The DragIcon property takes a string containing the name of
the icon file you want to display when the user drags the control.
You can specify a stock icon or any icon filename.

The following example sets the drag icon for a ListBox to
an icon called arrow.ico:

This example sets the drag icon to the stock icon Question:


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