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()