🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Streaming a dynamic list of component references

#25
From: dnote
Date: Fri, 18 Dec 1998 00:00
16 lines
1545 bytes
> Try looking into TCollection from Classes unit or TStrings - it can bring some
> ideas. Another way is to use TCollection - you must create class which derives
> from TCollectionItem and has a property with TComponent type IMHO this could be
> better.

The problem is that TCollection and TStrings do not store component
references. I need some mechanism in Delphi with which I can resolve
component name into component objects. It is not an option to uses
TCollection itself, since I need to store references to TComponents like
TFields.

Dave

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    
Technical Details
Message-ID: <75depa$ljp$1@nnrp1.dejanews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <75b021$iib$1@nnrp1.dejanews.com> <36798c20.608945@posejdon.wpk.p.lodz.pl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 112b07,65c39db2a03ef093
X-Google-Attributes: gid112b07,public
X-Google-Thread: fe2ce,65c39db2a03ef093
X-Google-Attributes: gidfe2ce,public
From: dnote@my-dejanews.com
Subject: Re: Streaming a dynamic list of component references
Date: 1998/12/18
Message-ID: <75depa$ljp$1@nnrp1.dejanews.com>
X-Deja-AN: 423570925
References: <75b021$iib$1@nnrp1.dejanews.com> <36798c20.608945@posejdon.wpk.p.lodz.pl>
X-Http-Proxy: 1.0 x8.dejanews.com:80 (Squid/1.1.22) for client 212.61.29.194
Organization: Deja News - The Leader in Internet Discussion
X-Article-Creation-Date: Fri Dec 18 11:37:14 1998 GMT
Newsgroups: comp.lang.pascal.delphi.components.writing,borland.public.delphi.vcl.components.writing
X-Http-User-Agent: Mozilla/2.0 (compatible; MSIE 3.02; Windows 95)