advr.hlp (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.
DragMode Property Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 [form.]ctlname.DragMode[ = mode%]
 
 Usage Notes
   ■ When DragMode is set to Automatic (1), the control does not respond as
     usual to mouse input messages. Use the Manual (0) setting to determine
     when dragging begins or ends. This is useful for either:
     • Initiating dragging in response to a keyboard or menu command.
     • Allowing a source control to recognize a MouseDown event prior to
       dragging. See: MouseDown Event
 
   ■ Clicking while the mouse pointer is over a target control or form during
     a drag operation generates a DragDrop event for the target object. This
     ends the drag operation. Dragging may also generate a DragOver event.
     See: DragDrop Event  DragOver Event
 
   ■ While a control is being dragged, it cannot recognize other user-
     initiated mouse or keyboard events (KeyDown, KeyPress, or KeyUp;
     MouseDown, MouseMove, or MouseUp). However, the control can receive
     events initiated by code.