[fpc-pascal] Declare a standalone procedure of object (TNotifyEvent)

Luiz Americo Pereira Camara luizmed at oi.com.br
Thu Sep 13 04:00:38 CEST 2007

I'm trying to declare a standalone function (not attached to a class) to 
use as a TNotifyEvent.

I tried

procedure FooBar of object;

Without sucess.

Is it possible to declare such function to use as a TNotifyEvent without 
creating a class only to hold the callback method?


More information about the fpc-pascal mailing list