◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back► ────────────────────────────────────────────────────────────────────────────── Occurs when a drag-and-drop operation is completed as a result of dragging a control over a form or control and releasing the mouse button or by using the DRAG method with action% = 2. SUB Form_DragDrop (Source AS CONTROL, X AS SINGLE, Y AS SINGLE) SUB ctlname_DragDrop ([Index AS INTEGER,] Source AS CONTROL, X AS SINGLE, Y AS SINGLE) ■ Source Source control being dragged. You can refer to properties and methods with the Source argument. For example: Source.Visible = 0 ■ X, Y Current horizontal (X) and vertical (Y) positions of the mouse pointer within the target form or control. ■ Index Uniquely identifies a control in a control array. Applies To ◄Check Box Control► ◄Combo Box Control► ◄Command Button Control► ◄Directory List Box Control► ◄Drive List Box Control► ◄File List Box Control► ◄Form► ◄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 ◄DRAG Method► ◄DragMode Property► ◄DragOver Event►