Posted on 2002-05-02
I've just had a question answered rather nicley here, about dynamically created component properties.
Now I realise that I need to ask another question... then I should be done. :-)
I have some dynamically created (at run-time) TPanel components, and am using the :
(componentName as TPanel).property := value;
.... to access the properties.
Is there a way that I can perhaps copy across all properties from an existing TPanel, to the newly dynamically created components, and then just change the few values that I need to change for each?
For example, I have one TPanel that I create at design time, and would like all those properties to pass onto the dynamically created TPanels..... then, I only need to change two or three properties on each, individually.