|
- Multiselection List Box control
- Modified element
- Modifying an element in the browser
- Miscellaneous
ListModify (Function) In french: ListeModifie
// Modify the element found at subscript 4 in "LIST_CustomerList" ListModify(LIST_CustomerList, "Moore", 4)
Syntax
ListModify(<List Box control> , <Element> [, <Image> [, <Element subscript>]])
<List Box control>: Control name Name of control to use: - List Box control,
- Combo Box control.If this parameter corresponds to an empty string (""), the element is modified in the List Box control (or Combo Box) to which the current event belongs.
<Element>: Character string (with quotes) Element to modify in the specified List Box (or Combo Box) control.
<Image>: Optional character string (with quotes) Name and path of image that will be added into a ListView control. This parameter is taken into account for ListView controls displayed in ListView mode only. If this parameter is not specified, the default image (defined in the "Details" tab in the description window of control) will be used.
<Element subscript>: Optional integer Subscript of element to modify.If this parameter: - is not specified or if it is set to -1, the current element is modified. ListModify has no effect if there is no current element.
- is equal to 0, the first element is modified.
- is greater than the number of elements found in the List Box (or Combo Box) control, a WLanguage error occurs. The number of elements found in a List Box (or Combo Box) control is returned by ListCount.
Remarks Multiselection List Box control If one or more elements are selected in the List Box control, ListModify deselects no element. Miscellaneous - To modify an element in a Table control, use TableModify.
- ListModify can be used on a "Combo Box" table column.
This page is also available for…
|
|
|
| |
| | ListModify(LIST_List,"Modificando Segundo",2)
// Blog com Video e Exemplo http://windevdesenvolvimento.blogspot.com.br/2016/11/aula-963-curso-windev-listbox-008.html https://www.youtube.com/watch?v=09j73FXGrjE
|
|
|
|
| |
| |
| |
| |
| |
| |
| | |
| |