How can i set the mouse X and Y coordinates to X and Y coordinated of active object, in my frame?
I tried using the mouse object, but it only sets according to acctuall X and Y-screen coordinates, it cant trac k object inside my frame.
Any suggestions? Is it possible?
n/a
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
17th January, 2009 at 01:30:53 -
You can use the mouse object but also add in the coordinates of the left and top edges of your window using the Window Control object and the Mouse object together:
Always set Actual Mouse X to WinXPos( "Window Control" )+X( "Active" )
Always set Actual Mouse Y to WinYPos( "Window Control" )+Y( "Active" )