Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLEdragmode=1 - Latency until StartDrag too short.
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
OLEdragmode=1 - Latency until StartDrag too short.
Divers
Thread ID:
01238142
Message ID:
01238142
Vues:
70
I have found that when I try to implement both a context menu (rightclick) and drag-drop on a control using OLEdragmode of 1 (automatic), that VFP does not wait long enough (or far enough) after a mousedown to determine if the user is really meaning to initiate a drag operation. Thus, an unwanted D&D operation gets started, then aborts in fraction of a second, rather than firing a RightClick event. I need the equivalent of a _DBLCLICK sensitivity setter: Require the mouse to be down for so many milliseconds, or to be moved some minimum distance, before initiating the drag. Is there some way to tweak these behaviors with automatic OLEdragging? The current behavior causes some annoying user-interface glitches when you want to support more than one interaction, such as supporting both D&D plus rightclick, or all 3 of D&D, rightclick, and dblclick. Any suggestions appreciated. Thanks!
Répondre
Fil
Voir

Click here to load this message in the networking platform