I have a component which has property derived from TOwnedCollection.
Every item of collection is an object derived from TCollectionItem.
All items's property can be edited in designtime. All seems fine.
Now I have to add some event property to collection item. Nothing unusual.
I can see event name in object inspector, but can't assign it in designtime.
"Can not create a default method name for unnamed component"
I added "Name" property to collection item and give names for all items, but it doesn't help.
Exploring VCL code I didn't found any object derived from TCollectionItem that has events.
I just want to be sure that it is not possible. Right? Can somebody guide me to the doc with explanations?
I know that I can move property to main component level and use collection item as parameter to identify item which event occurs.