Here is some info from Marco Cantu's Mastering Delphi 6 book:
"
The published Keyword
Along with the
and
access directives, you can use a fourth one, called
. For any
field, property, or method, the compiler generates extended RTTI [Run-Time Type Information] information, so that Delphi's run time environment or a program can query a class for its published interface. For example, every Delphi component has a published interface that is used by the IDE [Integrated Development Environment], in particular the Object Inspector. A regular use of
fields is important when you write components. Usually, the
part of a component contains no fields or methods but properties and events.
When Delphi generates a form or data module, it places the definitions of its components and methods (the event handlers) in the first portion of its definition, before the
and
keywords. These fields and methods of the initial portion of the class are
. The default is
when no special keyword is added before an element of a component class."
Hope this helps!
Clive
![[infinity] [infinity] [infinity]](/data/assets/smilies/infinity.gif)