|
|
|
|
|
- Cascading deletions
- Deleting an element on the browser
- Miscellaneous
<List Box>.Delete (Function) In french: <Liste>.Supprime Deletes an element from a List Box, ListView or Combo Box control populated programmatically. Note: The <List Box>.Delete function can be used for both List Box control and multiselection fields. .
LISTE_ListeClient.Supprime()
Syntax
<List Box control>.Delete([<Element index>])
<List Box control>: Control name Name of List Box (or Combo Box) control to use. <Element index>: Optional integer Index of the element to delete from the List Box or Combo Box control. If this parameter is not specified:- in a single-selection List Box control, the current element is deleted.
- in a multi-selection List Box control, the selected elements are deleted.
- in a Combo Box control, the current element is deleted. If this control is an editable Combo Box control, the edit control is cleared.
Remarks Cascading deletions When deleting a set of elements, the elements found after each deleted element are moved. To perform cascading deletions, we advise you to start from the last element. For example:
Indice is int
FOR Indice = LISTE_ListeClient.Occurrence() TO 1 STEP -1
LISTE_ListeClient.Supprime(Indice)
END
Miscellaneous - To delete an element from a Table control, use <Table>.Delete.
- <List Box>.Delete can be used on a "Combo Box" table column.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|