Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement