Article View: borland.public.delphi.winforms.controls.using
Article #429Re: Enum Controls
From: Bob Swart
Date: Tue, 10 May 2005 15:31
Date: Tue, 10 May 2005 15:31
18 lines
1572 bytes
1572 bytes
Hi dstef,
> How can i enum all components wich are belongs to WinForm ???
Unlike a VCL Form (which has a Parent as well as Owner relationship with
components), a WinForm only has a Parent role for visual components. And
no relationship with the non-visual components that are placed on it...
See http://bdn.borland.com/article/0,1410,33050,00.html for a VCL
example, but I don't know of a way to enumerate the non-visual controls
on a WinForm, sorry...
Groetjes,
Bob Swart (aka Dr.Bob - www.DrBob42.com)
--
Bob Swart Training & Consultancy (eBob42) - Borland Technology Partner
Delphi 2005 PDF manuals available from http://www.drbob42.com/training
Technical Details
Message-ID:
<4280D3DC.6D885046@chello.nl>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4280ae6c$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,e0fc1a61e394bcd3 X-Google-Attributes: gid1eff29,public X-Google-Language: ENGLISH,ASCII-7-bit Message-ID: <4280D3DC.6D885046@chello.nl> Date: Tue, 10 May 2005 17:31:40 +0200 From: Bob Swart <b.swart@chello.nl> Organization: Bob Swart Training & Consultancy X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.delphi.winforms.controls.using Subject: Re: Enum Controls References: <4280ae6c$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.132.89.100 X-Trace: newsgroups.borland.com 1115739110 24.132.89.100 (10 May 2005 08:31:50 -0700) Lines: 18 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail