Class TControlList (unit CtrlLst)

Inherits from

TObject

Renamed Rick Roger's CtrlList.pas 6/8/1998 to avoid conflict with Santiago Portela's work

Constructors


constructor Create;



Functions

procedure Add(const Section: string; Control: TControl);


procedure AddControls(const Section: string; Controls: array of TControl);


procedure Clear;


destructor Destroy;


procedure SetEnabled(const Section: string; Value: Boolean);


procedure SetVisible(const Section: string; Value: Boolean);


procedure BeginUpdate;


procedure Changed;


procedure EndUpdate;


procedure AddSection(const Section: string);


procedure EnsureSection(const Section: string);


function GetControl(const Section: string; Index: Integer): TControl;


function GetControlCount(const Section: string): Integer;


function GetList(const Section: string): TList;


function HasSection(const Section: string): Boolean;


Properties

property ControlCount : Integer


property Controls : TControl


property Items : TStringList


property List : TList


Events

Variables

FItems : TStringList;


FUpdateCount : Integer;



Constructors


constructor Create;


Functions


procedure Add(const Section: string; Control: TControl);


procedure AddControls(const Section: string; Controls: array of TControl);


procedure Clear;


destructor Destroy;


procedure SetEnabled(const Section: string; Value: Boolean);


procedure SetVisible(const Section: string; Value: Boolean);


procedure BeginUpdate;


procedure Changed;


procedure EndUpdate;


procedure AddSection(const Section: string);


procedure EnsureSection(const Section: string);


function GetControl(const Section: string; Index: Integer): TControl;


function GetControlCount(const Section: string): Integer;


function GetList(const Section: string): TList;


function HasSection(const Section: string): Boolean;


Properties


property ControlCount : Integer


property Controls : TControl


property Items : TStringList


property List : TList


Events


Variables


FItems : TStringList;


FUpdateCount : Integer;