Imagelist.dragBegin Method [AX 2012]

Begins dragging an image.

public boolean dragBegin(
    int imageIdx, 
    int hotSpotX, 
    int hotSpotY)

Run On

Client

Parameters

imageIdx
Type: int
The index of the image to drag.
hotSpotX
Type: int
The X-coordinate of the drag position relative to the upper-left corner of the image.
hotSpotY
Type: int
The Y-coordinate of the drag position relative to the upper-left corner of the image.

Return Value

Type: boolean
1 if the method was successful.

The rest of the drag operation is specified by the dragEnter, dragMove, dragLeave, and dragEnd methods.

Community Additions

ADD
Show: