Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/GabrielOnDelphi/Dephi-GUI-AutoSave
This application will demonstrate how to save the state of all GUI controls on application shutdown and then restore them loaded on application startup.
https://github.com/GabrielOnDelphi/Dephi-GUI-AutoSave
delphi gui lazarus pascal
Last synced: about 2 months ago
JSON representation
This application will demonstrate how to save the state of all GUI controls on application shutdown and then restore them loaded on application startup.
- Host: GitHub
- URL: https://github.com/GabrielOnDelphi/Dephi-GUI-AutoSave
- Owner: GabrielOnDelphi
- Created: 2022-04-03T12:43:16.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-05T18:17:49.000Z (2 months ago)
- Last Synced: 2024-04-19T05:12:39.673Z (about 2 months ago)
- Topics: delphi, gui, lazarus, pascal
- Language: Pascal
- Homepage:
- Size: 1.89 MB
- Stars: 9
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-pascal - GUI AutoSave
README
# GUI-AutoSave
Do you have forms with lots of controls (checkboxes, radio buttons, etc) and you want to save their status to disk on shutdown and resume the program (GUI) exactly from where you left on application startup? You can do it with a single call to: SaveForm/LoadForm.
FULL description here:
https://gabrielmoraru.com/one-function-to-rule-them-all-saving-the-whole-gui-to-disk-with-one-single-procedure-call/_________________
This Delphi application will demonstrate:
1. How to save the state of all GUI controls on application shutdown and then restore them loaded on application startup:
* checkboxes
* radiobuttons
* cubic custom controls
* form's position
* controls on the second form2. How to send messages to the AppLog (a app-wide message logging system).
_________________
This demo app requires the LightSaber Core and Log library:
* https://github.com/GabrielOnDelphi/Delphi-LightSaber-CoreLib
* https://github.com/GabrielOnDelphi/Delphi-LightSaber-LogLib