Move the mouse cursor from code #1

A variable named Mouse (of type TMouse) is defined in the Controls unit. Simply use something like this to change the location the mouse is pointing to:

Mouse.CursorPos := Point(10,10);
Author: Jerry Gagnon
Added: 2007/06/02
Last updated: 2007/06/02