Help / WLanguage / WLanguage functions / Controls, pages and windows / Looper functions
  • Use conditions
  • Use with a Looper control based on a data file
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
<Looper>.Delete (Function)
In french: <Zone répétée>.Supprime
Deletes a row from a Looper control. The Looper control is automatically refreshed.
// Delete row 1
// Delete the current row
<Looper control>.Delete([<Index> [, <Animation>]])
<Looper control>: Control name
Name of the Looper control to be used.
<Index>: Optional integer
Index of the row to delete.
  • If this parameter is not specified, the deletion will be performed in the current row.
  • If <Index> is greater than the number of rows, <Looper>.Delete has no effect.
<Animation>: Optional Integer constant
WINDEVUniversal Windows 10 AppAndroidiPhone/iPad Management of animation during the deletion:
loopAnimationDeletePlays an animation during the deletion. This animation corresponds to a disappearance effect by reducing the height of the row.
(Default value)
No animation is played during the deletion.

Use conditions

<Looper>.Delete can be used on:
  • a Looper control based on a data file,
  • a Looper control populated programmatically.
WEBDEV - Browser code This function is not available for Linear Looper controls. This function is available for Looper controls in browser mode only.
WEBDEV - Server codePHP This function is available for Looper controls in Ajax mode, Looper controls in classic mode and Linear Looper controls.
PHP <Looper>.Delete can only be used on a Looper control populated programmatically.

Use with a Looper control based on a data file

If the Looper control is based on a data file:
  • the record is deleted from the data file.
  • the next row is selected (if the last row is deleted, the previous row will be selected). The record selected in the linked data file corresponds to the selected row.
Component: wd290obj.dll
Minimum version required
  • Version 23
This page is also available for…
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help