Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
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
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