Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TCollection persistence in a component 1

Status
Not open for further replies.

favmadcanuck

Programmer
Jan 24, 2013
1
CA
Searching for a solution to TCollection persistence in the IDE, I came across this thread: thread102-1655791 which offered the right solution. One thing that should be mentioned is that from Delphi 5 (or later?), the VCL includes the TOwnedCollection class. Deriving your TCollection from this
class instead of TCollection will save you from having to worry about this as it declares the FOwner: TPersistent field and corresponding property for you. Thanks for the help from the those who posted to thread102-1655791!

Sailor: Have you ever been to sea?
Programmer: No, but I've been to Delphi.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top