[Lazarus] constructor Create How is it work?

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Mar 4 19:13:27 CET 2014


On Tue, 04 Mar 2014 18:47:45 +0200
FreeMan <freeman35 at delphiturkiye.com> wrote:

> I useto other pascal, Its like a treeview
> root --> TForm or Tdatamodule
>   Node -> parent always there
> I mean before node create, owner(parent) created, everything finished, 
> loaded properties  from Tform etc, its ready to work alone, then jump to 
> child, and if there is child jump bla bla

I'm not sure what you mean.

You have to distinguish "Parent" property and the parent instance. The
parent instance exists before the children are created. But the child
is created before its properties are set.

And yes, this is Delphi compatible.

Mattias




More information about the Lazarus mailing list