Oh, I see, so you just want to drag shapes with the mouse and drop it in another place, right?
That's no problem, I will check my samples at home and tell you.
>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:
>
>this.left = this.left
>this.Top = this.top
>
>TIA!
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison