[fpc-pascal] Class procedure assigned to object's event

JoshyFun joshyfun at gmail.com
Tue May 26 17:01:17 CEST 2009


Hello FPC-Pascal,

Tuesday, May 26, 2009, 4:03:00 PM, you wrote:

asgc> class procedure callback.StatusCMD(Sender: TObject; Response: Boolean;
asgc>  const Value: string);
[...]
asgc> Is there a way to compile with objfpc or better which is
asgc> the difference between two modes for this case ?

I may be wrong, but "class procedure" and "of object" may be
incompatible even when the "class procedure" should be the same as a
regular "of object" one with an implicit nil passed.

Which FPC version are you using ?

-- 
Best regards,
 JoshyFun




More information about the fpc-pascal mailing list