>In fooling around with mousemove event for a graphic object on a form, I wish to have the object move left and right in conjunction with the mouse moving left and right. How do you apply the nXCoord, nYCoord to do this. Thank you.
Tim,
In those cases I keep 2 properties holding starting nXCoord, nYCoord. I change left, top by calculating the difference of newXCoord, storedXCoord, newYCoord, storedYCoord. Here as each left, top setting completed also 'stored' coords are set to 'new' ones in order to keep calculation simple and prevent jumping movements (otherwise I would need to hold original left, top too).
Cetin