TStringList

From Soldat Community Wiki
Revision as of 01:46, 13 August 2013 by Mighty (talk | contribs) (Members)
Jump to: navigation, search

Inheritance

Description

Class used to store strings on a list.
Can be created with TFile.CreateStringList and TFile.CreateStringListFromFile

User constructable: NO
User destructable:  YES

Members

Member declaration Access mode Inherited
procedure Free no
function GetNamePath(): string no
function Add(S: string): Integer no
procedure Append(S: string) no
procedure AddStrings(Strings: TStrings) no
procedure Clear() no
procedure Delete(Index: Integer) no
function IndexOf(const S: string): Integer no
procedure Insert(Index: Integer; S: string) no
procedure LoadFromFile(FileName: string) no
procedure SaveToFile(FileName: string) no
procedure BeginUpdate() no
procedure EndUpdate() no
function Equals(Strings: TStringss): boolean no
procedure Exchange(Index1, Index2: Integer) no
function IndexOfName(Name: string): Integer no
procedure LoadFromStream(Stream: TStream) no
procedure Move(CurIndex, NewIndex: Integer) no
procedure SaveToStream(Stream: TStream) no
procedure SetText(Text: PChar) no
function AddObject(S: String; AObject: TObject): Integer no
function GetText(): PChar no
function IndexOfObject(AObject: TObject): Integer no
procedure InsertObject(Index: Integer; S: String; AObject: TObject) no
function Find(S: String; var Index: Integer): Boolean no
procedure Sort() no
property Count: Integer R no
property Text: String RW no
property CommaText: String RW no
property Strings[i: Integer]: String RW no default
property Objects[i: Integer]: TObject RW no
property Names[i: Integer]: String R no
property Values[i: Integer]: String RW no
property Duplicates: TDuplicates RW no
property Sorted: Boolean RW no
property OnChange: TNotifyEvent RW no
property OnChanging: TNotifyEvent RW no