Igor Pokorny wrote:
Thanks, it realy works.
I am probably too old to understand such constructions, it's over of
my imagination. I was certain objects in programming mirror the real
world. Such construction is like to get married and to select a wife
after a marriage. Strange....

In real world, you first get born, and marry only after a certain while :) Besides, the filename property isn't a wife - you can change it as often as you wish :)

Putting humour aside, TXMLConfig was initially designed as in Thomas's tutorial, but later it was changed to a TComponent descendant. This enables you to drop it on a form and assign its properties in the Object Inspector. However, being a TComponent descendant requires having a constructor that is passed an owner component.

Sergei

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

Reply via email to