3 <title>KOL Help: TWStrList object (main frame)
</title>
7 <body bgcolor=
"#FFFFEF" text=
"#000000" link=
"#008080" vlink=
"#008000" alink=
"#808000">
8 <p><font face=
"Courier" color=
"#800080"><b>TWStrList( unit
<a href=kol_pas.htm
>KOL.pas
</a> )
9 <font face=
"Wingdings">ï
</font> <a href=tobj.htm
>TObj
</a>
10 <font face=
"Wingdings">ï
</font> <a href=_tobj.htm
>_TObj
</a>
13 TWStrList = object(
<a href=tobj.htm
target=
"_top">TObj
</a> )
15 String list to store Unicode (null-terminated) strings.
16 <h3 align=
"center"><font color=
"#FF8080">TWStrList properties
</font></h3>
19 <font face=
"Courier" color=
"#800080"><b>property
</b> <font color=
"#808000"><b>Items
</b></font>[ Idx:
<b>Integer
</b> ]: WideString;
</font>
21 See also
<a href=tstrlist.htm#items
>TStrList.Items
</a>
23 <a name=
"itemptrs"></a>
25 <font face=
"Courier" color=
"#800080"><b>property
</b> <font color=
"#808000"><b>ItemPtrs
</b></font>[ Idx:
<b>Integer
</b> ]: PWideChar;
</font>
26 <font face=
"Webdings" size=
7>Ñ</font>
28 See also
<a href=tstrlist.htm#itemptrs
>TStrList.ItemPtrs
</a>
32 <font face=
"Courier" color=
"#800080"><b>property
</b> <font color=
"#808000"><b>Count
</b></font>:
<b>Integer
</b>;
</font>
33 <font face=
"Webdings" size=
7>Ñ</font>
35 See also
<a href=tstrlist.htm#count
>TStrList.Count
</a>
39 <font face=
"Courier" color=
"#800080"><b>property
</b> <font color=
"#808000"><b>Text
</b></font>: WideString;
</font>
41 See also
<a href=tstrlist.htm#text
>TStrList.Text
</a>
43 <h4 align=
"center"><font color=
"black">Properties, inherited from
<a href=
"tobj.htm" target=
"_top">TObj
</a></font></h4>
44 <h3 align=
"center"><font color=
"#FF8080">TWStrList methods
</font></h3>
45 <a name=
"settext"></a>
47 <font face=
"Courier" color=
"#800080"><b>procedure
</b> <font color=
"#808000"><b>SetText
</b></font>(
<b>const
</b> Value: WideString );
</font>
49 See also
<a href=tstrlist.htm#settext
>TStrList.SetText
</a>
51 <a name=
"destroy"></a>
53 <font face=
"Courier" color=
"#800080"><b>destructor
</b> <font color=
"#808000"><b>Destroy
</b></font>;
<b>virtual
</b>;
</font>
58 <font face=
"Courier" color=
"#800080"><b>procedure
</b> <font color=
"#808000"><b>Clear
</b></font>;
</font>
60 See also
<a href=tstrlist.htm#clear
>TStrList.Clear
</a>
64 <font face=
"Courier" color=
"#800080"><b>function
</b> <font color=
"#808000"><b>Add
</b></font>(
<b>const
</b> W: WideString ):
<b>Integer
</b>;
</font>
66 See also
<a href=tstrlist.htm#add
>TStrList.Add
</a>
70 <font face=
"Courier" color=
"#800080"><b>procedure
</b> <font color=
"#808000"><b>Insert
</b></font>( Idx:
<b>Integer
</b>;
<b>const
</b> W: WideString );
</font>
72 See also
<a href=tstrlist.htm#insert
>TStrList.Insert
</a>
76 <font face=
"Courier" color=
"#800080"><b>procedure
</b> <font color=
"#808000"><b>Delete
</b></font>( Idx:
<b>Integer
</b> );
</font>
78 See also
<a href=tstrlist.htm#delete
>TStrList.Delete
</a>
80 <a name=
"addwstrings"></a>
82 <font face=
"Courier" color=
"#800080"><b>procedure
</b> <font color=
"#808000"><b>AddWStrings
</b></font>( WL:
<a href=kol_pas.htm#pwstrlist
target=
"_top">PWStrList
</a> );
</font>
84 See also
<a href=tstrlist.htm#addstrings
>TStrList.AddStrings
</a>
88 <font face=
"Courier" color=
"#800080"><b>procedure
</b> <font color=
"#808000"><b>Assign
</b></font>( WL:
<a href=kol_pas.htm#pwstrlist
target=
"_top">PWStrList
</a> );
</font>
90 See also
<a href=tstrlist.htm#assign
>TStrList.Assign
</a>
92 <a name=
"loadfromfile"></a>
94 <font face=
"Courier" color=
"#800080"><b>function
</b> <font color=
"#808000"><b>LoadFromFile
</b></font>(
<b>const
</b> Filename:
<b>String
</b> ):
<b>Boolean
</b>;
</font>
96 See also
<a href=tstrlist.htm#loadfromfile
>TStrList.LoadFromFile
</a>
98 <a name=
"loadfromstream"></a>
100 <font face=
"Courier" color=
"#800080"><b>procedure
</b> <font color=
"#808000"><b>LoadFromStream
</b></font>( Strm: PStream );
</font>
102 See also
<a href=tstrlist.htm#loadfromstream
>TStrList.LoadFromStream
</a>
104 <a name=
"mergefromfile"></a>
106 <font face=
"Courier" color=
"#800080"><b>function
</b> <font color=
"#808000"><b>MergeFromFile
</b></font>(
<b>const
</b> Filename:
<b>String
</b> ):
<b>Boolean
</b>;
</font>
108 See also
<a href=tstrlist.htm#mergefromfile
>TStrList.MergeFromFile
</a>
110 <a name=
"mergefromstream"></a>
112 <font face=
"Courier" color=
"#800080"><b>procedure
</b> <font color=
"#808000"><b>MergeFromStream
</b></font>( Strm: PStream );
</font>
114 See also
<a href=tstrlist.htm#mergefromstream
>TStrList.MergeFromStream
</a>
116 <a name=
"savetofile"></a>
118 <font face=
"Courier" color=
"#800080"><b>function
</b> <font color=
"#808000"><b>SaveToFile
</b></font>(
<b>const
</b> Filename:
<b>String
</b> ):
<b>Boolean
</b>;
</font>
120 See also
<a href=tstrlist.htm#savetofile
>TStrList.SaveToFile
</a>
122 <a name=
"savetostream"></a>
124 <font face=
"Courier" color=
"#800080"><b>procedure
</b> <font color=
"#808000"><b>SaveToStream
</b></font>( Strm: PStream );
</font>
126 See also
<a href=tstrlist.htm#savetostream
>TStrList.SaveToStream
</a>
128 <a name=
"appendtofile"></a>
130 <font face=
"Courier" color=
"#800080"><b>function
</b> <font color=
"#808000"><b>AppendToFile
</b></font>(
<b>const
</b> Filename:
<b>String
</b> ):
<b>Boolean
</b>;
</font>
132 See also
<a href=tstrlist.htm#appendtofile
>TStrList.AppendToFile
</a>
136 <font face=
"Courier" color=
"#800080"><b>procedure
</b> <font color=
"#808000"><b>Swap
</b></font>( Idx1, Idx2:
<b>Integer
</b> );
</font>
138 See also
<a href=tstrlist.htm#swap
>TStrList.Swap
</a>
142 <font face=
"Courier" color=
"#800080"><b>procedure
</b> <font color=
"#808000"><b>Sort
</b></font>( CaseSensitive:
<b>Boolean
</b> );
</font>
144 See also
<a href=tstrlist.htm#sort
>TStrList.Sort
</a>
148 <font face=
"Courier" color=
"#800080"><b>procedure
</b> <font color=
"#808000"><b>Move
</b></font>( IdxOld, IdxNew:
<b>Integer
</b> );
</font>
150 See also
<a href=tstrlist.htm#move
>TStrList.Move
</a>
152 <h4 align=
"center"><font color=
"black">Methods, inherited from
<a href=
"tobj.htm" target=
"_top">TObj
</a></font></h4>
153 <h3 align=
"center"><font color=
"#FF8080">TWStrList events
</font></h3>
154 <h4 align=
"center"><font color=
"black">Events, inherited from
<a href=
"tobj.htm" target=
"_top">TObj
</a></font></h4>
155 <h3 align=
"center"><font color=
"#FF8080">TWStrList fields
</font></h3>
156 <h4 align=
"center"><font color=
"black">Fields, inherited from
<a href=
"tobj.htm" target=
"_top">TObj
</a></font></h4>
158 <p align=
"center">[
<a href=index.htm
>Index
</a> ]
</p>
159 <p align=
"center"><font face=
"Comic Sans MS"><small>This help is generated
22-Sep-
2005 by KOL Help generator, (C)
2000-
2001 by Vladimir Kladov
<br>Modified (C)
2003 by Alexander Bartov
</small></font></p>