TCollectionItem represents an item in a TCollection. It is defined in the Classes.pas unit.
Questions tagged [tcollectionitem]
17 questions
0
votes
0 answers
TPersistent component in a TCollectionItem / Access a TCollectionItem property from a TPersistent
Please take a look to the bellow code part of a TComponent:
TMyField = class(TCollectionItem)
private
FName: String
FSqlField: TSqlField;
procedure SetName(const Value: String);
procedure SetSqlField(const Value: TSqlField)
published
…

REALSOFO
- 852
- 9
- 37
0
votes
1 answer
Inheritance of TCollectionItem
I'm planning to have collection of items stored in a TCollection.
Each item will derive from TBaseItem which in turn derives from TCollectionItem,
With this in mind the Collection will return TBaseItem when an item is requested.
Now each TBaseItem…

James
- 9,774
- 5
- 34
- 58