Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving shapes in run time
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00691580
Message ID:
00691623
Views:
17
Nick:

We know that shape1 is located at left 10 and top 10; but maybe the end user wants to drag the shape to the opposite corner in the container. How can I take the new position of the shape?

I´m looking for a way to determine the new position and move the shape to this place. But I´m completely lost about the event and the code need it. I was triying with the drag event, but failed to determine the position the shape is while draging.

I was triying like this:
*** In Mouseleave event
this.left = this.left
this.Top =  this.top
TIA!
By two common phrases in his vocabulary, we know Hercule Poirot was a great Developer: his use of "the little grey cells" and "order and method".
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform