Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving shapes in run time
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00691580
Message ID:
00691623
Vues:
16
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".
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform