Cursorpos solved.
I had units InterfaceBase, LCLIntf, LCLType still in the uses clause.
Paul
I has unuts
----- Original Message -----
From: "Mattias Gaertner" <[EMAIL PROTECTED]>
To: <fpc-pascal@lists.freepascal.org>
Sent: Saturday, September 13, 2008 10:57 PM
Subject: Re: [fpc-pascal] WinCE api calls info
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
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal