Difference between revisions of "TXMLPropStorage"
From Free Pascal wiki
Jump to navigationJump to searchLine 2: | Line 2: | ||
Work with SessionProperties TForm property.''' | Work with SessionProperties TForm property.''' | ||
− | + | Usage: | |
− | + | * Drop it on form and set filename like : 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) | Your application now will read selected property value from session.xml and apply it on runtime (like Width,Height,Left,Top for TForm) | ||
The same is for TINIPropStorage</nowiki> | The same is for TINIPropStorage</nowiki> |
Revision as of 21:45, 9 March 2006
Component to save/restore selected properties (eighter TForm or any control on it) Work with SessionProperties TForm property.
Usage:
- Drop it on form and set filename like : 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)
The same is for TINIPropStorage</nowiki>