PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
Deletes a dynamic row from a Multiline Zone control.
Versions 18 and later
Android This function is now available for Android applications.
WINDEVWindows This function is now available for the WINDEV applications in Windows.
New in version 18
Android This function is now available for Android applications.
WINDEVWindows This function is now available for the WINDEV applications in Windows.
Android This function is now available for Android applications.
WINDEVWindows This function is now available for the WINDEV applications in Windows.
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
// Click on [delete]
nRow is int = MZ_Network..Value
MZ_Network.Delete(nRow)
Syntax
<Multiline Zone control>.Delete([<Position>])
<Multiline Zone control>: Control name
Name of Multiline Zone control to use.
<Position>: Optional integer
Subscript of 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 subscript must correspond to the subscript 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 Multiline Zone control is modified to take the deleted row into account: the control is reduced from 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