Re: Problem freeing components with .free
- From: Hans-Peter Diettrich <DrDiettrich1@xxxxxxx>
- Date: Thu, 15 Feb 2007 17:13:51 +0100
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 :-(
DoDi
.
- Follow-Ups:
- Re: Problem freeing components with .free
- From: J French
- Re: Problem freeing components with .free
- 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
- Problem freeing components with .free
- Prev by Date: Re: Problem freeing components with .free
- Next by Date: Re: Problem freeing components with .free
- Previous by thread: Re: Problem freeing components with .free
- Next by thread: Re: Problem freeing components with .free
- Index(es):
Relevant Pages
|