Class TAdSetup

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAdSetup = class(TObject)

Description

A cross plattform (and compiler) setup dialog, that enables the possibility of choosing a plugin and setting the resolution. Special published properties of the plugin library are also parsed and displayed.

Hierarchy

Overview

Methods

Public constructor Create(ADraw: TAdDraw);
Public destructor Destroy; override;
Public function Execute: boolean;

Properties

Public property Sections: TAdSetupDlgSections read FSections write FSections;
Public property Image: string read FImage write FImage;
Public property Title: string read FTitle write FTitle;
Public property Ini: TIniFile read FIni write SetIni;
Public property Path: string read FPath write FPath;

Description

Methods

Public constructor Create(ADraw: TAdDraw);

Creates an instance of TAdSetup.

Parameters
ADraw
specifies the parent AdDraw all settings refer to
Public destructor Destroy; override;

Destroys the instance of TAdSetup.

Public function Execute: boolean;

Executes the dialog. Returns whether the user presseed the ok button.

Properties

Public property Sections: TAdSetupDlgSections read FSections write FSections;

Use this property to set the sections the dialog show.

See also
TAdSetupDlgSection
Specifies the sections of the setup dialog that should be shown.
Public property Image: string read FImage write FImage;

The filename of the image that is displayed in the top of the window.

Public property Title: string read FTitle write FTitle;

The title of the dialog. By default this is the title of the application.

Public property Ini: TIniFile read FIni write SetIni;

The ini file object all settings should be stored in. Normally TAdSetup creates its own ini file. After setting your own ini file object, the old ini file object is automatically freed.

Public property Path: string read FPath write FPath;

Path to the plugin dll files. Normally set to ParamStr(0)

SourceForge.net Logo


Generated by PasDoc 0.11.0 on 2008-12-31 14:32:00