another quick example:
this saves the values of a listbox to an ini file and reads them back into the listbox on form create:
also forgot to mention you need to add "inifiles" to the uses section to work with ini files...