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)
|
Elément
|
Description
|
|---|---|
|
longRet
|
Renvoie l'index auquel la chaîne a été ajoutée.
|
|
strItem
|
Une chaîne à ajouter à la zone de liste.
|
|
intItem
|
Un entier indiquant l'index de l'élément à supprimer.
|
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)
|
Elément
|
Description
|
|---|---|
|
longRet
|
Renvoie l'index auquel la chaîne a été trouvée ou -1 si elle ne l'a pas été.
|
|
strItem
|
La chaîne à rechercher.
|
|
longStartAfter
|
Un nombre entier indiquant l'index auquel commencer la recherche. Si la valeur est égale à -1, la recherche porte sur l'ensemble de la zone de liste.
|
var longIndex = ListBox.CurSel();
var strRet = ListBox.GetText(longIndex);
longIndex = ListBox.CurSel
strRet = ListBox.GetText(longIndex)
longIndex = ListBox.CurSel
strRet = ListBox.GetText(longIndex)
|
Elément
|
Description
|
|---|---|
|
strRet
|
La chaîne à l'index spécifié.
|
|
longIndex
|
L'index entier auquel trouver le texte.
|
ListBox.ResetContent {};
ListBox.ResetContent()
ListBox.ResetContent()