|
|
|
|
|
- Multi-selection List Box control
- Modified element
- Miscellaneous
<List Box>Modificar (función) Modifies an element in a List Box, ListView or Combo Box control populated programmatically. Note: The <List Box>Modificar function can be used for both single-selection and multi-selection List Box controls..
LISTE_ListeClient.Modifie("Dupond", 4)
Sintaxis
<List Box control>.Modify(<Element> [, <Image> [, <Element index>]])
<List Box control>: Nombre del control Name of control to use: - List Box control,
- Combo Box control.
<Element>: Cadena de caracteres Element to modify in the specified List Box (or Combo Box) control.
<Image>: Cadena de caracteres opcional 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 "Detail" tab of the control description window) is used..
<Element index>: Entero opcional 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>Modificar has no effect if there is no current element.
- is equal to 0, the first element is modified.
- is greater than the number of items in the List Box control (or Combo Box control), a WLanguage error is generated.. The number of elements in a List Box (or Combo Box) control is returned by <List Box>.Count.
Observaciones Multi-selection List Box control If one or more elements are selected in the List Box control, <List Box>Modificar deselects no element. Miscellaneous - To modify an element in a Table control, use <Table>.Modify.
- <List Box>Modificar can be used on a "Combo Box" table column.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|