[fpc-pascal]Message methods - DefaultHandler

Peter Vreman peter at freepascal.org
Tue Jun 8 20:06:07 CEST 2004

> Hello,
>      I have some problem with DefaultHandler method. When I pass a message
> for which is special handler defined everything is ok, but when it
> should be passed to DefaultHandler (which is overriden) it does
> nothing. Here is some sample code:

You need to use 1.9.x. It also gives a warning why the code does not work:

p.pp(10,18) Warning: An inherited method is hidden by
"TTest.DefaultHandler(var TMyMessage)"

More information about the fpc-pascal mailing list