PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Use conditions
  • Use with a browsing Looper control
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
<Looper>.Delete (Function)
In french: <Zone répétée>.Supprime
Deletes a row from a browsing or memory Looper control. The Looper control is automatically refreshed.
Example
// Delete row 1
LOOP_ProdLooper.Delete(1)
// Delete the current row
LOOP_ProdLooper.Delete()
Syntax
<Looper control>.Delete([<Subscript> [, <Animation>]])
<Looper control>: Control name
Name of Looper control to use.
<Subscript>: Optional integer
Subscript of row to delete.
  • If this parameter is not specified, the deletion will be performed in the current row.
  • <Looper>.Delete has no effect if <Subscript> is greater than the number of rows.
<Animation>: Optional Integer constant
Remarks

Use conditions

<Looper>.Delete can be used on a browsing or memory Looper control.

Use with a browsing Looper control

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 : wd250obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment