DRAG Method
◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Begins, ends, or cancels the dragging of a control.
[form.][ctlname.]DRAG [action%]
■ ctlname Name of control to drag
■ action% Integer value that indicates the action to perform:
Value Description
═════ ════════════════════════════════════════════════════
0 Cancel drag operation
1 (Default) Begin dragging control
2 End dragging (drop control)
Applies To
◄Check Box Control► ◄Combo Box Control►
◄Command Button Control► ◄Directory List Box Control►
◄Drive List Box Control► ◄File List Box Control►
◄Frame Control► ◄Horizontal Scroll Bar Control►
◄Label Control► ◄List Box Control►
◄Option Button Control► ◄Picture Box Control►
◄Text Box Control► ◄Vertical Scroll Bar Control►
See Also
◄DragDrop Event► ◄DragMode Property►
◄DragOver Event► ◄Methods Summary►
◄MousePointer Property►