Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag an Image
Message
De
25/02/2009 14:59:29
 
 
À
25/02/2009 10:58:44
Sonny Tabano
Trams Printwork, Inc.
Mabalacat, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
01382908
Message ID:
01384156
Vues:
128
>>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
Fil
Voir

Click here to load this message in the networking platform