PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Deletion on the browser
  • Miscellaneous
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Deletes all the elements from a memory List Box (or ListView) control or from a memory Combo Box control.
Remark: 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. For more details, see Remarks.
Versions 15 and later
Android This function is now available for Android applications.
New in version 15
Android This function is now available for Android applications.
Android This function is now available for Android applications.
Versions 16 and later
WINDEVLinux This function is now available for WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for WINDEV applications in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for 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 of the List Box control (or Combo Box) to which the current event belongs are deleted.
WEBDEV - Browser code The name of the List Box (or Combo Box) control to use must 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.
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, all you have to do is switch the server process containing ListDeleteAll to 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.
Component: wd270obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment