原型:Create(AOwner: TComponent);如果你要彻底搞明白,就把TComponent的Owner属性搞明白就可以了,帮助中的原文如下; Use Owner to find the owner of a component. The Owner of a component is responsible for two things:1、The memory for the owned component is freed when its owner's memory is freed. This means that when a form is destroyed, all the components on the form are also destroyed. 2、The Owner is responsible for loading and saving the published properties of its owned controls.
Use Owner to find the owner of a component. The Owner of a component is responsible for two things:1、The memory for the owned component is freed when its owner's memory is freed. This means that when a form is destroyed, all the components on the form are also destroyed.
2、The Owner is responsible for loading and saving the published properties of its owned controls.