AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones List Box
  • Deletion on the browser
  • Miscellaneous
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Clears a List Box, ListView or Combo Box control populated programmatically.
Note: The ListDeleteAll function can be used for both single-selection and multi-selection List Box controls..
WEBDEV - Código Navegador Attention: The List (or Combo) Box control will only be emptied on the page displayed in the browser.. For more details, see Remarks.
Ejemplo
// Delete all elements from the "LIST_CustomerList" control
ListDeleteAll(LIST_CustomerList)
Sintaxis
ListDeleteAll(<List Box control>)
<List Box control>: Control name
Name of List Box (or Combo Box) control to use. If this parameter corresponds to an empty string (""), all the elements of the List Box control (or Combo Box) to which the current event belongs are deleted.
WEBDEV - Código Navegador The name of the List Box (or Combo Box) control to use must be specified.
Observaciones
WEBDEV - Código Navegador

Deletion on the browser

When deleting elements from a List Box (or Combo Box) control in browser code, these elements are deleted on the page displayed in the browser only. In order for these elements to be deleted from the server, ListDeleteAll must be run on the server.
Calling ListDeleteAll in browser code is useful when using AJAX technology, in "Programmed AJAX" mode (via AJAXExecute or AJAXExecuteAsynchronous).
Reminder In "automatic and immediate AJAX" mode, simply pass the server processing containing the function ListDeleteAll FUNCTION in automatic AJAX mode. That's it! No additional programming is required. For more details, see AJAX.

Miscellaneous

  • To delete all the rows from a Table control, use TableDeleteAll.
  • ListDeleteAll can be used on a "Combo Box" table column.
  • For the editable Combo Box controls, the input area is cleared.
Componente: wd300obj.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local