|
|
|
|
|
- Multi-selection List Box control
- Modified element
- Modifying an element in the browser
- Miscellaneous
<List Box>.Modify (Function) In french: <Liste>.Modifie Modifies an element in a List Box, ListView or Combo Box control populated programmatically. Remark: <List Box>.Modify can be used on the single-selection and multi-selection List Box controls.
// Modify the element found at subscript 4 in "LIST_CustomerList" LIST_CustomerList.Modify("Smith", 4)
Syntax
<List Box control>.Modify(<Element> [, <Image> [, <Element index>]])
<List Box control>: Control name <Element>: Character string Element to modify in the specified List Box (or Combo Box) control.
<Image>: Optional character string 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 index>: Optional integer Index of the element to be modified.If this parameter: - is not specified or if it is set to -1, the current element is modified. <List Box>.Modify 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 in a List Box (or Combo Box) control is returned by <List Box>.Count.
Remarks Multi-selection List Box control If one or more elements are selected in the List Box control, <List Box>.Modify deselects no element. Miscellaneous - To modify an element in a Table control, use <Table>.Modify.
- <List Box>.Modify can be used on a "Combo Box" table column.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|