Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

TestApplicationDemo

A boiler plate on how to do Application config the "Lazarus Way (tm)"

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Application Config Demo

A boiler plate on how to do Application config the "Lazarus Way (tm)".

It includes:

  • Setting up what properties to save on TForm.SessionProperties
  • TINIPropStorage for TForm.SessionProperties property storage
  • TFileExit action with different shortcuts for Windows and Linux
  • The use of GetAppConfigFile() to get the app's default file customised for Linux/Windows
  • A way to have different short cuts for exit in Linux(CTRL+Q) and Windows(ALT+X)