NiceSettings

Add saving and restoring state capabilities to your Delphi applications.
Download

NiceSettings Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • Priyatna Harun
  • Operating Systems:
  • Windows All
  • File Size:
  • 237 KB

NiceSettings Tags


NiceSettings Description

NiceSettings can automatically save and restore form properties and components taking advantage from RTTI. All you have to do is specify which properties are to be saved and restored. As simple as that! There are some methods and properties of the component: procedure LoadSettings; · Loads previously stored settings. Usually you call this method on FormCreate event. procedure SaveSettings; · Saves current settings. Usually you call this method on FormClose or FormDestroy event. property StoredProps: TStrings; · This is where you can specify which properties to be saved. One line for each property. You can also save children component properties using "component name + dot + property" format, for example "Memo1.Color", "Edit1.Text", etc. property StoreTarget: TStoreTarget; · Specifies where to save settings. Currently you have two options: stIniFile saves to an INI file, stRegistry saves to registry under HKEY_CURRENT_USER. property RegKey: string; · Specifies in which key branch the component will save the settings in the registry. property IniFile: string; · Specifies the name of INI file to use when saving settings. NOTE: This component uses RTTI. So it only work with published properties of the form and it's components.


NiceSettings Related Software