[fpc-pascal] WinCE api calls info

Paul paul.blommaerts at telenet.be
Sat Sep 13 23:09:47 CEST 2008


Cursorpos solved.

I had units InterfaceBase, LCLIntf, LCLType still in the uses clause.

Paul

I has unuts 
----- Original Message ----- 
From: "Mattias Gaertner" <nc-gaertnma at netcologne.de>
To: <fpc-pascal at 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" <paul.blommaerts at telenet.be> wrote:
> 
>> 
>> ----- Original Message ----- 
>> From: "Mattias Gaertner" <nc-gaertnma at netcologne.de>
>> >> 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 at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> 
>



More information about the fpc-pascal mailing list