Share via


Imagelist.dragMove Method

Moves the image that is being dragged during a drag-and-drop operation.

Syntax

public boolean dragMove(int x, int y)

Run On

Client

Parameters

  • x
    Type: int
    The X-coordinate at which to display the drag icon, relative to the upper-left corner of the window.
  • y
    Type: int
    The Y-coordinate at which to display the drag icon, relative to the upper-left corner of the window.

Return Value

Type: boolean
1 if successful; otherwise, 0.

Remarks

To start the drag operation, call the dragBegin method, and then the dragEnter method. The rest of the drag operation is specified by the dragLeave and dragEnd methods.

See Also

Imagelist Class

Imagelist.dragBegin Method

Imagelist.dragEnter Method

Imagelist.dragLeave Method

Imagelist.dragEnd Method