BeginDragAt Method

Class

AnyWin class.

Action

Presses a mouse button in a window and begins dragging an object.

Availability

This functionality is supported only if you are using the Classic Agent.

Syntax

window.BeginDragAt(iButton,
iX, iY [, iShiftkeys])
Variable Description
iButton The mouse button to press: Windows: 1 for left, 2 for right, and 3 for center. INTEGER.
iX Horizontal coordinate relative to current window at which to press mouse button. INTEGER.
iY Vertical coordinate relative to current window at which to press mouse button. INTEGER.
iShiftkeys Optional: Specifies one or more shift keys to hold down before beginning the drag operation. The value is interpreted as a bit mask: 1 = Alt key, 2 = Ctrl key, and 4 = Shift key. Default is 0 (no shift keys). INTEGER.