dragImage | |
Type | property |
Dictionary | LCS |
Library | LiveCode Script |
Syntax |
|
Summary | Reports the id of an image that should be used to represent the drag operation. |
Introduced | 2.9 |
Changes | The order in which LiveCode searches for drag images was changed in version 3.5. Previously, the current stack was searched first, followed by the list of open stacks. |
OS | mac, windows |
Platforms | desktop, server |
Example |
|
Related | Property: behavior, dragImageOffset Message: dragStart, dragEnd |
Description | The dragImage property specifies the id of an image used to represent a drag operation. The property is set by the source application in a dragStart handler. The image is only looked up after completion of the dragStart handler in which it is set and so the image must persist for the lifetime of the operation. Typically, a control will want to use a pre-existing image object, or create a temporary object in dragStart that it deletes when it receives dragEnd. LiveCode looks for the specified image in the following order:
|