Mark
You are prob getting the default string editor - You'll need to register
the PE you want against your colletionitem.strings property
If you have D5 they now supply the source for the PE'sa so see if you
can track the PE from it's registration against another comp
HTH
Neven
----- Original Message -----
From: Mark Derricutt <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Sent: Thursday, 20 July 2000 10:23
Subject: [DUG]: TCollections...
> Hiya, a few questions on TCollections....
>
> Firstly, in my TCollectionItem class Ive added a TStrings property, I can
> bring up the property editor for this ok, but the 'code editor' button (to
> allow editing in the IDE) is disabled, is there any way to enable this?
>
> Also, when I create my TCollection object, I pass the TCollectionItem
> class I wish to use, is it possible to have different Item classes in one
> collection? I was thinking of something like:
>
> TBaseCollectionItem = class(TCollectionItem)
> ..
> <some basic functionality>
>
> TSpecialCollectionItem = class(TBaseCollectionItem)
> ..
> <overiding the behavior of the base slightly>
>
> TAnotherCollectionItem = class(TBaseCollectionItem)
> ..
> <overiding yet more behaviour of the base/standard>
>
> Is that possible?
>
> I was thinking I could dupe the behaviour of TCollection.Add and pass in
> the class to create, but looking in the .dfm no classnames are mentioned
> for the items.
>
> --
> Inspired by the taste of horror, proud to be insane forever
> Let out the killer in me! (c) Dismal Euphony
> Now Playing: <no audio cd present>
>
> --------------------------------------------------------------------------
-
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz