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

I tried

procedure FooBar of object;
begin
end;

Without sucess.

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

Luiz
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to