Save and Restore Size and Position of your form using Registry or Inifile.
In category
Code Samples > Samples > Forms
Description
Easily create a custom form that saves the size and position of your window, each time it is closed and opened, either using an ini file or the registry."For ease of testing I have enclosed a way to easily restart the application by clicking on the form anywhere, to make this happen I had to add ShellAPI to the uses classes. And also, to make the Registry version of this example, I added Registry to the uses classes and for the Inifile version, I added, you guessed it, Inifiles."
Informations
- Status: Fully functional
- Source: FW
- Size: 523 842kB
Platforms:
- Delphi 2005 (VCL)
- Delphi 2006 (Win32)
- Delphi 2007 (VCL)
- Delphi 2009
- Delphi 2010
- Delphi 6
- Delphi 7
Downloads