On 01/11/2016 11:07 AM, Michael Van Canneyt wrote:


On Mon, 11 Jan 2016, Ondrej Pokorny wrote:

On 11.01.2016 17:44, Anthony Walter wrote:
I Delphi at least if you create a component with AOwner set to nil it
actually (tested under Delphi 7 at least) would set the Owner to
Application.

You are wrong:

 Assert(TComponent.Create(nil).Owner = Application);


I also never heard of this, and I develop applications since way before
Delphi 7.

CreateForm did this, but for forms not components.


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to