ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Multiline Zone functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Deletes a dynamic row from a Multiline Zone control.
Example
// Clic sur [supprimer]
nLigne is int = ZM_Réseau.Valeur
ZM_Réseau.Supprime(nLigne)
Syntax
<Multiline Zone control>.Delete([<Position>])
<Multiline Zone control>: Control name
Name of the Multiline Zone control to be used.
<Position>: Optional integer
Index of the row to delete.
  • If this parameter is not specified, the deletion will be performed on the current row (if it is a dynamic row). <Multiline Zone>.Delete triggers a fatal error if no dynamic row is selected.
  • <Multiline Zone>.Delete triggers a fatal error if <Position> is greater than the number of rows.
  • The index must match the index of a dynamic row (added by <Multiline Zone>.AddLine or <Multiline Zone>.InsertLine). If the Multiline Zone control contains static rows and dynamic rows, the number of static rows must be taken into account.
Remarks
The size of the Multiline Zone control is modified to take account of the deleted line: the field is reduced at the bottom.. If controls are located below the Multiline Zone control, they are moved to the top. The useful window height is reduced accordingly.
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/26/2024

Send a report | Local help