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
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01434996
Message ID:
01435212
Vues:
74
David,

Thanks for the direction. I've got it working in the class methods

Al Allison


>Al,
>
>That's because the form is never seeing the mouse events, they are all staying inside the object being dragged. You'll probably have to find away to bubble the events up to the form or let your class code detect the small dX, dY between MouseDown and MouseUp and move the object accordingly.
>
>>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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform