How to correctly stream a TCollection property of a subcomponent, e.g. the Columns property of an embedded TDBGrid
I've been trying to boil down to an MCVE some code the author of another q sent me to illustrate a problem with a custom component. The component is simply a TPanel descendant which includes an embedded TDBGrid. My version of its source, and a test project are below. The problem is that if the embedded DBGrid has been created with persistent columns, when its test project is re-opened in the IDE, an exception is raised Error reading TColumn.Grid.Expanded . Property Grid does not exist. Executing the Stream method of the test project shows how this problem arises: For comparison purposes, I