TXMLPropStorage
From Free Pascal wiki
Jump to navigationJump to searchComponent to save/restore selected properties (either TForm or any control on it) Works with TForm.SessionProperties property.
Usage:
- Drop it on form and set filename, for example: session.xml
- Open editor window for property SessionProperties of TForm.
- Add here properties of form and/or controls to be stored inside session.xml.
- Rebuild application.
Your application now will read selected property value from session.xml and apply it on runtime (like Width,Height,Left,Top for TForm)
TINIPropStorage works the same way as TXMLPropStorage, except it stores the session information in an ini-file.