<< Click to Display Table of Contents >>
Manual > Control Reference > Basics > List box control > Methods >
Sets the text list.
syntax
SetTextList(
textList
[, bTrimSpace=TRUE]
)
Parameters
Type:
character
Text list. When specifying multiple lines, the following methods are available.
1) A string with line breaks.
2) An array of strings equal to the number of lines.
bTrimSpace
Boolean
Specifying TRUE will delete the space characters if they are included before or after the string.
Return Value
FALSE - Failure. TRUE - Success.
Explanation
Set up a text list.
Example
var text; if (::LoadTextFile("xxx.txt", text)) { this.SetTextList(text); }
reference
AddText
InsertText
DelText
MoveText
Clear
GetRowCount
GetText
SetText
FindText
GetTextList
SetTextList
AddTextList
Select
SelectText
SelectIndex
GetSelectedText
GetSelectedIndex
GetSelectedData
Sort
Scroll
GetData
SetData
FindData