Alex
Llook at the streaming utilities in the classes unit
D4 has some nice examples (which i can't find in d5 right now)
Regards Neven
N.K. MacEwan B.E. E&E
----- Original Message -----
From: Alex Kouznetsov <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Sent: Monday, 15 November 1999 13:20
Subject: [DUG]: Saving components properties to a file or getting a list of
them
> Is there a way to save current values of all the properties of a component
> to the file ? Something like MyComponent.SaveToFile (MyComponent.name +
> '.txt').
>
> OR
>
> Is there a way to get a list of all the properties for a given component.
> To do something like this:
> for i := 0 to NumberOfProperties do
> WriteToFile (Properites[i].Name + '=' + Properites[i].ValueAsString)
>
> Delphi loads/saves forms filled with components into the dfm file. Can
this
> functionality be used ? Then how ?
>
> Thanks
> Alex
>
>
>
> --------------------------------------------------------------------------
-
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz