Save attributes - Please Help !

  • Thread starter Thread starter JezB
  • Start date Start date
J

JezB

I want to save a set of attributes for a control to a text file, an xml
file, or (eventually) a database.

So, I have things like Font, ForeColor, BackColor, Dock, Anchor, Location
and Size. I want to somehow serialize all of these into a text string, or an
xml document perhaps, that I can save away as a file, so that I can later
read and parse this file and restore the properties for the control.

What is the best way to do this ? My thoughts at this stage are that it
should be saved as an xml document.

Any help hugely appreciated.
 
Back
Top