Fixed: Hello WAS: Re: [lazarus] Editor crashing when adding text

vital at videotron.ca vital at videotron.ca
Mon Dec 6 21:21:19 EST 1999


At 02:32 99-12-07 +0100, you wrote:
>At 20:29 06-12-99 -0500, you wrote:
>:-) :-) thats why we need in Lazarus a Parent as well.
>
>Marc

Also, must of the time the Owner of a TComponent is a Tform and the Owner of
a TForm is The TApplication and the Owner of the Application is Nil. That's
the way Delphi does when loading component from a .dfm but it you create a
TForm at the run time you could make his Owner Nil in this case you must
manualy freed this form while when the Owner of a TForm is Application
Delphi automaticaly Free it when the application is closing.

Vital Tremblay
vital at videotron.ca






More information about the Lazarus mailing list