[Lazarus] THelpEvent declaration discussion

Sergei Gorelkin sergei_gorelkin at mail.ru
Fri Nov 6 16:02:39 CET 2009


Felipe Monteiro de Carvalho wrote:
> Why not just introduce a new type with a different name?
> 
> Maybe TCLXHelpEvent = function(HelpType: THelpType; HelpContext: THelpContext;
>       const HelpKeyword: String; const HelpFile: String;
>       var Handled: Boolean): Boolean of object;
> 
> This should stop the discussion about breaking compatibility and get
> it into FPC. It doesn't really need to be called THelpEvent to be
> useful, does it?
> 
Note that Delphi (version 7, at least) does not have THelpEvent declared in the classes unit.
The question is, why does FPC have it there? To be compatible with Delphi, it must be removed.
This applies not only to THelpEvent, but to some more declarations as well.
I had to patch one of them away just yesterday (Mantis #14948).

Sergei




More information about the Lazarus mailing list