On Sat, 13 Sep 2008 22:44:43 +0200
"Paul" <[EMAIL PROTECTED]> wrote:

> 
> ----- Original Message ----- 
> From: "Mattias Gaertner" <[EMAIL PROTECTED]>
> >> Mouse.CursorPos.X := 80;
> >> Mouse.CursorPos.Y := 80;
> 
> this is accepted in the IDE

Yes, because it is syntactically correct. But it only changes some
temporary stack variables. Nothing will happen.

 
> > Mouse.CursorPos:=Point(80,80);
> this isn't accepted

What error do you get?

procedure TMainForm.Button1Click(Sender: TObject);
begin
  Mouse.CursorPos:=Point(80,80);
end;


Mattias
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to