I just realized that Ctrl+Space gives the following hint for the Include command in Delphi 2007:

I just realized that Ctrl+Space gives the following hint for the Include command in Delphi 2007:

Include(var S: ;

How exactly does this work for an event property and a method? I am pretty sure that Delphi 2007 does not support multicast events. Or is this just a bug in the IDE?

Comments

  1. Looks like a D2007 problem - D2009 gets that right again.

    ReplyDelete
  2. As always, trust the compiler over the IDE tooling

    ReplyDelete
  3. Perhaps a relic of multicast delegates (Delphi.NET).

    ReplyDelete
  4. Ondrej Kelle Yes, I guess that's probably it. There still was a Delphi for .NET 2007 so this is probably a artifact in the IDE only.

    ReplyDelete
  5. Been off-line, so can only confirm this just now: That was for .NET which was still in Delphi 2007.

    ReplyDelete

Post a Comment