Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Native drag and drop within object perimeter
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Native drag and drop within object perimeter
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01434996
Message ID:
01434996
Vues:
250
All,

I am working with a native drag and drop, on base class text controls objects, manual dragmode.

The starting position of the drag object (left, top) are set into form properties in mousedown(). The new coordinates for the drag object are calculated from the drag offset and applied on the dragdrop() for the page to reposition the drag object.

If I move the mouse pointer out of the perimeter of the object being dragged, it is moved to the correct place on mouseup(). However, if I selet a position within the drag object, and move it only a short distance, so that the mouse pointer stays within the drag object perimeter, the object does not move.

Mouse events are not recognized. How can I catch this tiny move within the object's perimeter and make it happen?

Thanks in advance.

Al Allison
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform