I get a problem. The problem is that I do not know how to associate property of component and text value of property name.
For example. Let's suppose I have a text file. The text file look like this:
left = 100
top = 200
caption = "some caption"
Then I have a component (abstract component). How to assign values to property of the component from that text file?
It must be:
procedure AssignProp(aComp : TComponent; aPropName : string; aValue : Variant);
// implementation wanted!!!!
I know how to save/load a component to/from stream in the text format, it's unusable for me.
if aPropName = 'LEFT' then aComp.Left := aValue; // is also unusable.
I'm not hurry up.