tcollectionitem

Creating a component with named sub-components?

二次信任 提交于 2019-11-27 04:34:28
I need to know the basics behind making a component produce and manage sub-components. I originally tried this by creating a TCollection , and tried to put a name on each TCollectionItem . But I learned it's not that easy as I had hoped. So now I am going to start this project from scratch again, and I'd like to get it right this time. These sub-components are not visual components, and should not have any display or window, just based off of TComponent . The main component holding these sub-components will also be based off of TComponent . So nothing here is visual at all, and I don't want a

Creating a component with named sub-components?

寵の児 提交于 2019-11-26 11:15:28
问题 I need to know the basics behind making a component produce and manage sub-components. I originally tried this by creating a TCollection , and tried to put a name on each TCollectionItem . But I learned it\'s not that easy as I had hoped. So now I am going to start this project from scratch again, and I\'d like to get it right this time. These sub-components are not visual components, and should not have any display or window, just based off of TComponent . The main component holding these