Demo1 - Basics

Aim of demo:

This demo shows the basic idea of PtSettings. It is meant to show:

  • what settings groups are.
  • how settings are made.
  • how a storage is used.
  • What it does:

    Demo1 uses an .ini file as a storage. The settings contain positions for forms and user info consisting of integer, string and enumerated settings.

    How it's done:

    Looking at Demo1Settings.pas :

    Extra:

    Do not explicitly free child settings groups. TSettingsGroup objects automatically free their sub groups when destroyed.