Need help Saving User changes to a form please

  • Thread starter Thread starter Marc
  • Start date Start date
M

Marc

Hi, I have a form that allows the user to add extra buttons if
required..How can i save these extra buttons to the application after
the program is closed?

Thanks

Marc
 
Marc said:
Hi, I have a form that allows the user to add extra buttons if
required..How can i save these extra buttons to the application after
the program is closed?

You'll need to have references to these controls as they are added at
run-time so loop through them and write out /enough/ information to
recreate them when you next run the program. Name, Location, Size, Text
ought to be a good start.

Choose your favourite file format - XML, Ini, plain, old-fashioned text;
whatever suits you best.

Regards,
Phill W.
 
Back
Top