2009/5/26 JoshyFun <joshy...@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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal