Configuration-Aware Controls for Delphi
How You Use IniControls
Using IniControls in Delphi's Designer is a simple three-step
process.
- Place a TIniSource component on the form and tell it what
Registry subkey or .ini file to look at.
- Place the configuration-aware controls that you need on
the form. Assign a section name (for example [Desktop])
and a keyword (for example Wallpaper=) to each,
and point each one at the DataSource you created in Step
1.
- To save the settings, create a Save button and in its OnClick
method, call TIniSource.Save.
With IniControls, configuration dialogues just write
themselves!
by Paul Keating keating@acm.org.
Copyright © 1996 by Prodigy Computing
IniControls is a protected name of Prodigy Computing
$Revision: 1.5 $ $Date: 25 Aug 1998 14:53:30 $