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

Antonio Sanguigni a.sanguigni at gmail.com
Tue May 26 17:12:46 CEST 2009


2009/5/26 JoshyFun <joshyfun at gmail.com>:
> 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.

Well I really don't know :) but searching on internet for delphi I
found this as a simple way to assign procedure of object to object's
event methods.

> Which FPC version are you using ?

I'm using 2.3.1 but I tried with 2.2.5 too and I have the same thing.

Antonio

-- 
Antonio Sanguigni alias slapshot
----------------------------------------------------------------------
GioveLUG (Linux User Group) - http://www.giovelug.org
Edupup (Educational distro) - http://www.pieroni.biz/edupup



More information about the fpc-pascal mailing list