Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>Are the codes for mousemove(), mousedown() and mouseup() events
>>should be used for both the image and the forms?
>>or only at the image? because when i put the codes in the image only,
>>an error message pops us saying "Property mousedownx is not found"
>>Also what do you mean by this " record where the move mouse to and move image that far"?
>>and what would be the value for mousedownx and mousedowny properties?
.mousedownx and .mousedowny are custom properties that you need to add to the control. If you are moving a form then you add them to the form. If you want to move an image you need to subclass the image control and add them to that. The code in the events records the x and y coordinates of the mouse movement,
Gary.
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