TWStrListEx( unit KOL.pas ) ï TWStrList ï TObj ï _TObj

TWStrListEx = object( TWStrList )

Extended Unicode string list (with Objects).

TWStrListEx properties

property Objects[ Idx: Integer ]: DWORD;

Properties, inherited from TWStrList

TWStrListEx methods

destructor Destroy; virtual;

procedure AddWStrings( WL: PWStrListEx );

procedure Assign( WL: PWStrListEx );

procedure Clear;

procedure Delete( Idx: Integer );

procedure Move( IdxOld, IdxNew: Integer );

function AddObject( const S: WideString; Obj: DWORD ): Integer;
Adds a string and associates given number with it. Index of the item added is returned.

procedure InsertObject( Before: Integer; const S: WideString; Obj: DWORD );
Inserts a string together with object associated.

function IndexOfObj( Obj: Pointer ): Integer;
Returns an index of a string associated with the object passed as a parameter. If there are no such strings, -1 is returned.

Methods, inherited from TWStrList

TWStrListEx events

Events, inherited from TWStrList

TWStrListEx fields

Fields, inherited from TWStrList


Index ]

This help is generated 14-Jun-2010 by KOL Help generator, (C) 2000-2001 by Vladimir Kladov
Modified (C) 2003 by Alexander Bartov