PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Deletion on the browser
  • Various
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Deletes all the elements from a memory List Box (or ListView) control or from a memory Combo Box control.
Note: ListDeleteAll can be used on the single-selection and multi-selection List Box controls.
WEBDEV - Browser code Caution: The List Box (or Combo Box) control will be cleared on the page displayed in the browser only. See Remarks for more details.
Versions 15 and later
Android This function is now available for the Android applications.
New in version 15
Android This function is now available for the Android applications.
Android This function is now available for the Android applications.
Versions 16 and later
WINDEVLinux This function is now available for the WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Delete all elements from the "LIST_CustomerList" control
ListDeleteAll(LIST_CustomerList)
Syntax
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 found in the List Box (or Combo Box) control to which the current process belongs will be erased.
WEBDEV - Browser code The name of List Box or Combo Box control to use must necessarily be specified.
Remarks
WEBDEV - Browser code

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.
The call to ListDeleteAll in browser code is suitable when using the AJAX technology, in "Programmed AJAX" mode (via AJAXExecute or AJAXExecuteAsynchronous).
Reminder: In "Automatic and immediate AJAX" mode, all you have to do is switch the server process containing ListDeleteAll to automatic AJAX mode. That's it! No additional programming is required. See AJAX for more details.

Various

  • 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.
Components
WINDEVReports and Queries wd230obj.dll
WEBDEV - Server code wd230page.dll
Windows Mobile wp230obj.dll
WEBDEV - Browser code WDJS.DLL
Java wd230java.jar
Linux wd230obj.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Exemplo ListDeleteAdll

//Exclui um elemento
ListDelete(LISTE_PROGRAMA)

//Exclui todos elemento
ListDeleteAll(LISTE_PROGRAMA)

//Blog com Video e Exemplo
http://windevdesenvolvimento.blogspot.com.br/2016/05/curso-windev-listbox-005-listmoveline.html
https://www.youtube.com/watch?v=OgOz0zAy_Ts
De matos AMARILDO
May 28 2016
Exemplo
ListDeleteAll(COMBO_meses)
ListAdd(COMBO_meses,"marco")
ListAdd(COMBO_meses,"janeiro")
ListAdd(COMBO_meses,"fevereiro")
ListAdd(COMBO_meses,"abril")
ListAdd(COMBO_meses,"maio")
ListAdd(COMBO_meses,"junho")
ListAdd(COMBO_meses,"julho")
ListAdd(COMBO_meses,"agosto")
ListAdd(COMBO_meses,"setembro")
ListAdd(COMBO_meses,"outubro")
ListAdd(COMBO_meses,"novembro")
ListAdd(COMBO_meses,"dezembro")
//Blog com Video e exemplo
http://windevdesenvolvimento.blogspot.com.br/2016/02/curso-windev-combox-001-preencher.html
De matos AMARILDO
Feb. 04 2016