ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Looper functions
  • Use conditions
  • Use with a Looper control based on a table
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
<Looper>.Delete (Function)
In french: <Zone répétée>.Supprime
Deletes a row from a Looper control. The RepeatString field is automatically refreshed.
Example
// Delete row 1
LOOP_ProdLooper.Delete(1)
// Delete the current row
LOOP_ProdLooper.Delete()
Syntax
<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
WINDEV 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.
loopAnimationNone
(Default value)
No animation is played during the deletion.
Remarks

Use conditions

<Looper>.Delete can be used on:
  • a Looper control based on a data file,
  • a Looper control populated programmatically.

Use with a Looper control based on a table

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

Last update: 03/11/2025

Send a report | Local help