Unit Settings

Sample Delphi Screen Saver Copyright © 1995 Big Creek Software Permission to use, copy, modify and distribute this software is hereby granted. The author makes no representations about the suitability of this software for any purposes. It is provided "as-is" without express or implied warranty. Author: David W. Body Date: December 17, 1995

Classes

TSettingsForm -

Functions

GetNumberOfSpotlights -

Types

Constants

IniFile
IniIdent
IniSection

Variables

SettingsForm


Functions


function GetNumberOfSpotlights: Integer;


Types


Constants

IniFile = 'CONTROL.INI'

This unit handles the Settings dialog which allows the user to enter the number of spotlights desired. The number is stored in the file CONTROL.INI in the Windows directory.

IniIdent = 'Number'

IniSection = 'Screen Saver.Spotlights'


Variables

SettingsForm : TSettingsForm

Public declarations