When I have been doing stuff like this then I use Objects. Then you can
have a collection that defines the elements of a group, then you move the
mouse, detect how far it has moved by comparing the X and Y values before
and after. You then have a translate method in all your drawing objects.
You then call that method for each object in the Group Collection.
_____________________________________________________
Oliver Keeling
www.Keeling-net.co.uk
ICQ 5566220
Chaos, panic, & disorder - my work here is done.
Hallo,
I am looking for a simple VB example where I can link two rectangles
with a "smart" connection line. This should be such that when I move any
of rectangles the connectin line should stick on both rectangle objects.
(something similar to connecting 2 objectsin Power Point).
Thanks, Regards,
Nic