Re: Problem freeing components with .free
- From: erewhon@xxxxxxxxxx (J French)
- Date: Fri, 16 Feb 2007 07:41:22 GMT
On Thu, 15 Feb 2007 17:13:51 +0100, Hans-Peter Diettrich
<DrDiettrich1@xxxxxxx> wrote:
J French wrote:
IMO this should work for you, instead of X.Free:
X.Owner.RemoveComponent(X);
That looks interesting, but according to the Help it is a mechanism
for changing the Owner of a component and meant to be used in
conjunction with InsertComponent.
IMO you confuse RemoveControl and RemoveComponent - the names really
could have been choosen more carefully :-(
I see what you mean, the Help on RemoveControl looks as if it just
de-parents it.
.
- References:
- Problem freeing components with .free
- From: TeChNoInSiDe
- Re: Problem freeing components with .free
- From: Sebastian Doht
- Re: Problem freeing components with .free
- From: TeChNoInSiDe
- Re: Problem freeing components with .free
- From: Hans-Peter Diettrich
- Re: Problem freeing components with .free
- From: J French
- Re: Problem freeing components with .free
- From: Hans-Peter Diettrich
- Problem freeing components with .free
- Prev by Date: Re: Problem freeing components with .free
- Next by Date: question about Delphi and Visual Studio .NET
- Previous by thread: Re: Problem freeing components with .free
- Next by thread: Re: Problem freeing components with .free
- Index(es):