PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Overview
  • Handling the Multiline Zone control through programming
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
Overview
WINDEV and WINDEV Mobile allow you to handle a Multiline Zone control through programming. A Multiline Zone control can be handled through programming via the control name.
For handle the dynamic lines of a Multiline Zone control by programming, WINDEV and WINDEV Mobile propose several WLanguage functions.
This help page explains how to handle a Multiline Zone control through programming.
Versions 18 and later
Android The Multiline Zone control is now available for Android applications.
WINDEVWindows The Multiline Zone control is now available for WINDEV applications for Windows.
New in version 18
Android The Multiline Zone control is now available for Android applications.
WINDEVWindows The Multiline Zone control is now available for WINDEV applications for Windows.
Android The Multiline Zone control is now available for Android applications.
WINDEVWindows The Multiline Zone control is now available for WINDEV applications for Windows.
Versions 21 and later
Universal Windows 10 App The Multiline Zone control is now available for applications in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App The Multiline Zone control is now available for applications in Universal Windows 10 App mode.
Universal Windows 10 App The Multiline Zone control is now available for applications in Universal Windows 10 App mode.
Handling the Multiline Zone control through programming
To access the controls in a static row of a multiline zone, use the following syntax:
<Champ Zone multiligne>.<Nom du champ>
For example:
ZM_General.LIB_N_de_xxx = StringBuild("N° de Bon de Commande: %1", COMMANDE.NumCommande)
To handle the elements in a dynamic row of a Multiline Zone control, you must use the subscript of the row to handle. The syntax is as follows:
<Champ Zone multiligne>[<Indice>].<Nom du champ> = <Valeur>
For example:
nLigne is int = mlzAddLine(ZM_Produits)
ZM_Produits[nLigne].LIB_NomProdLigne = stLigne.sLibProd
ZM_Produits[nLigne].LIB_NomProdLigne.Couleur = LightBlue
ZM_Produits[nLigne].SAI_QteLigne = stLigne.nQuantite
Remarks:
  • Subscript "1" corresponds to the first row of the Multiline Zone control. All rows are numbered (static rows and dynamic rows). If the Multiline Zone control contains static rows and dynamic rows, the number of static rows must be taken into account.
  • The dynamic lines of a Multiline Zone control can be manipulated using several WLanguage functions s.
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment