qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
DragOver Event
  ◄Summary►  ◄Details►  ◄Example►                ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
 Occurs when a drag-and-drop operation is in progress. You can use the
 DragOver event to monitor when the mouse pointer enters, leaves, or is
 directly over a valid target. The position of the mouse pointer determines
 which target object receives this event.
 
    SUB Form_DragOver (Source AS CONTROL, X AS SINGLE, Y AS SINGLE, State AS
                       INTEGER)
    SUB ctlname_DragOver ([Index AS INTEGER,] Source AS CONTROL, X AS SINGLE,
                           Y AS SINGLE, State AS INTEGER)
 
    ■ 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.
 
    ■ State   Transition state of the control being dragged in relation to a
              target form or control:
 
              Value     Description
              ═════     ════════════════════════════════════════════════════
              0         Entering; source control is being dragged within the
                        range of a target
              1         Leaving; source control is being dragged out of the
                        range of a target
              2         Over; source has moved from one position over the
                        target to another
 
     ■ 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►                      ◄DragDrop Event►
    ◄DragMode Property►