PRB: Dragmode=1 Stops Click and Other Mouse Events from FiringLast reviewed: April 30, 1996Article ID: Q130799 |
The information in this article applies to:
SYMPTOMSIf the DRAGMODE property is set to 1, the click event or any of the other mouse events do not execute for that object.
CAUSEWhen the DRAGMODE property is set to 1 for automatic mode, none of the mouse events fire. The mouse events affected are:
CLICK() MOUSEMOVE() MOUSEDOWN() MOUSEUP()The DRAGMODE property allows the control to be dragged when the primary mouse button is pressed and held down, so all other mouse events for this control are disabled. This is by design.
WORKAROUNDTo have more control over dragging, set the DRAGMODE property to zero for manual mode. Then in the MOUSEDOWN() event, call the CLICK() event and then call the DRAG() event passing a number one as a parameter to start the dragging operation.
Step-by-Step Example
STATUSThis behavior is by design.
|
Additional reference words: 3.00 VFoxWin
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |