Set mouse cursor pos


Posted by Adrian on January 30, 2001 at 10:13:49:

procedure TForm1.FormCreate(Sender: TObject);
var
x, y: Integer;
begin
x := Mouse.CursorPos.x;
y := Mouse.CursorPos.y;
end;

Mouse.CursorPos cannot be assign var.
How to solve this problem?

Thanks!



Related Articles and Replies: