Need help Saving User changes to a form please

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
 
P

Phill W.

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top