Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Over-sensitivity of automatic OLE drag mode
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00679239
Message ID:
00679910
Vues:
25
This message has been marked as a message which has helped to the initial question of the thread.
Hi,

Using the VFP Drag it's best to control this yourself using Manual dragmode. The usual approach is to capture the current coordinates in the MouseDown() event then initiate the Drag() in the MouseMove() event when the current coords are regarded as significantly different. There are examples of this around but I have no references to hand.

Presumably the same approach could be applied to OLEDrag.

HTH,
Viv

>>
Has anyone noticed that VFP's automatic OLE drag mode tends to kick in too quickly? This occurs whether I set OLEDragMode = 1 (Automatic), or if I use OLEDrag(.T.), which is only supposed to initiate the drag "after the user has pressed the mouse button for a sufficient period of time to indicate that a drag operation is occurring, or the mouse is moved a sufficient distance while the mouse button is pressed". Is there any way to adjust the parameters that govern this, e.g. via some registry settings?
<<
+
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform