Micha Nelissen wrote:
Marc Weustink wrote:

Only published methods that are an event handler, AFAIK.


Correction: all methods declared between the class declaration and the first section (private/protected/public/published)


"First section" means "first different section by use of keyword private protected public published"? Ok, in general those are the methods that delphi autocreated, right?

Yes, and also those you put in there yourself.

Delpi doesnt remove empty methods declared in a published section


So if you copy the event handler method from the top section to another published section, delphi won't remove it anymore when saving ?

Indeed.

Marc

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to