NaN
NaN

Reputation: 9104

How to Override GetChildren and GetChildOwner to persist objects?

I have been trying to choose a solution to store/restore some objects from files in my new Delphi project, and so far the most promising and more educative option I found was in a blocko blog post but he fails by not explaining how to Override GetChildren and override GetChildOwner which he claims is necessary for "objects that have sub-objects I want" and because:

otherwise all objects will be owned by the root component when they are read back in.

He is not responding to this post anymore so I ask for your help on how to complete this task by telling me how to proceed with this override task, because I do use objects with sub-objects (both from TComponent) which I want to save packaged.

Thanks!

enter image description here enter image description here

Upvotes: 0

Views: 231

Answers (0)

Related Questions