longRet = ListBox.AddString(strItem as String);
longRet = ListBox.DeleteString(intItem as Long);
longRet = ListBox.InsertString(longIndex as Long, strItem as String);
longRet = ListBox.AddString(strItem as String)
longRet = ListBox.DeleteString(intItem as Long)
longRet = ListBox.InsertString(longIndex as Long, strItem as String)
longRet = ListBox.AddString(strItem as String)
longRet = ListBox.DeleteString(intItem as Long)
longRet = ListBox.InsertString(longIndex as Long, strItem as String)
|
要素
|
説明
|
|---|---|
|
longRet
|
文字列が追加された位置のインデックスを返します。
|
|
strItem
|
リストボックスに追加する文字列。
|
|
intItem
|
除去するアイテムのインデックスを示す整数。
|
longRet = ListBox.FindString(longStartAfter as Long, strItem as String);
longRet = ListBox.FindStringExact(longStartAfter as Long, strItem as String);
longRet = ListBox.FindString(longStartAfter as Long, strItem as String)
longRet = ListBox.FindStringExact(longStartAfter as Long, strItem as String)
longRet = ListBox.FindString(longStartAfter as Long, strItem as String)
longRet = ListBox.FindStringExact(longStartAfter as Long, strItem as String)
|
要素
|
説明
|
|---|---|
|
longRet
|
文字列が見つかった位置のインデックスを返すか、見つからなかった場合は -1 を返します。
|
|
strItem
|
サーチする文字列。
|
|
longStartAfter
|
サーチを開始する位置のインデックスを示す整数。-1 に設定すると、リストボックス全体がサーチされます。
|
var longIndex = ListBox.CurSel();
var strRet = ListBox.GetText(longIndex);
longIndex = ListBox.CurSel
strRet = ListBox.GetText(longIndex)
longIndex = ListBox.CurSel
strRet = ListBox.GetText(longIndex)
|
要素
|
説明
|
|---|---|
|
strRet
|
指定されたインデックスにある文字列。
|
|
longIndex
|
テキストを検索する位置のインデックスを示す整数。
|
ListBox.ResetContent {};
ListBox.ResetContent()
ListBox.ResetContent()