Retaining Design Time Info in a Component at Run Time
Posted on 2005-05-01
I have a component which is descended from TCustomPanel. The component has properties which are of a type descended from TPersistent.
I have to instantiate these properties on creation of the main component. How can I retain the properties of these objects at run time? They have published properties and are editable in the object inspector by virtue of being a TClassProperty. The main components properties are retained ok at run time but since the class properties have to be instantiated again, their information is lost. Is there any way to retrieve this at run time?