PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Use conditions
  • Use with a Looper control based on a data file
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
<Looper>.Delete (Function)
In french: <Zone répétée>.Supprime
Deletes a row from a Looper control. The Looper control is automatically refreshed.
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.
Universal Windows 10 App This function is now available for Windows Phone applications.
New in version 16
WINDEVLinux This function is now available for WINDEV applications in Linux.
Universal Windows 10 App This function is now available for Windows Phone applications.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Universal Windows 10 App This function is now available for Windows Phone applications.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
WEBDEV - Browser code This function is now available in Browser code.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
WEBDEV - Browser code This function is now available in Browser code.
iPhone/iPad This function is now available for iPhone/iPad applications.
WEBDEV - Browser code This function is now available in Browser code.
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 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
Versions 21 and later
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.
loopAnimationNone
(Default value)
No animation is played during the deletion.
New in version 21
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.
loopAnimationNone
(Default value)
No animation is played during the deletion.
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.
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.
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: wd270obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment