Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag an Image
Message
From
25/02/2009 14:59:29
 
 
To
25/02/2009 10:58:44
Sonny Tabano
Trams Printwork, Inc.
Mabalacat, Philippines
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
01382908
Message ID:
01384156
Views:
129
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform