Difference between revisions of "TXMLPropStorage"
From Free Pascal wiki
Jump to navigationJump to searchLine 3: | Line 3: | ||
Usage: | 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 | + | The same is for TINIPropStorage |
Revision as of 22:46, 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