🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.components.writing
Article #30

Removing Components

#30
From: Solid
Date: Sun, 29 Nov 1998 00:00
17 lines
1523 bytes
Does anyone know how I can remove a component from a form at runtime.
Right now I have it as looping through the component count and then
using the property free to remove it. Is there a better way?

Thanks for your answer



--



*****************************************************************
*PLEASE, TO SEND ME AN E-MAIL REMOVE "REMOVE" FROM MY ADDRESS.  *
*                                                               *
*IKE        *
*****************************************************************
Technical Details
Message-ID: <36616C4A.3E825C2@bellsouth.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 108890,1aa9e3e31397d539,start
X-Google-Attributes: gid108890,public
X-Google-Thread: fb0ea,1aa9e3e31397d539,start
X-Google-Attributes: gidfb0ea,public
X-Google-Thread: 112b07,1aa9e3e31397d539,start
X-Google-Attributes: gid112b07,public
X-Google-Thread: 109d99,1aa9e3e31397d539,start
X-Google-Attributes: gid109d99,public
X-Google-Thread: fe2ce,1aa9e3e31397d539,start
X-Google-Attributes: gidfe2ce,public
From: Solid <Removekennaa@bellsouth.net>
Subject: Removing Components
Date: 1998/11/29
Message-ID: <36616C4A.3E825C2@bellsouth.net>
X-Deja-AN: 416859218
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
NNTP-Posting-Date: Sun, 29 Nov 1998 15:44:40 EST
Newsgroups: comp.lang.pascal.delphi.components.writing,borland.public.delphi.vcl.components.writing,borland.public.delphi.vcl.components.using,comp.lang.pascal.delphi.components,comp.lang.pascal.delphi.components.misc