PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Handling the Multiline Zone control by programming
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
Overview
WINDEV Mobile allows you to handle a Multiline Zone control by programming. A Multiline Zone control can be handled by programming via the name of the control.
To handle the dynamic lines of a Multiline Zone control by programming , WINDEV Mobile proposes several WLanguage functions.
WINDEV and WINDEV Mobile allow you to handle a Multiline Zone control by programming. A Multiline Zone control can be handled by programming via the name of the control.
To 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 by programming.
Versions 18 and later
Android The Multiline Zone control is now available for the Android applications.
WINDEVWindows The Multiline Zone control is now available for the WINDEV applications for Windows.
New in version 18
Android The Multiline Zone control is now available for the Android applications.
WINDEVWindows The Multiline Zone control is now available for the WINDEV applications for Windows.
Android The Multiline Zone control is now available for the Android applications.
WINDEVWindows The Multiline Zone control is now available for the WINDEV applications for Windows.
Versions 21 and later
Universal Windows 10 App The Multiline Zone control is now available for the applications in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App The Multiline Zone control is now available for the applications in Universal Windows 10 App mode.
Universal Windows 10 App The Multiline Zone control is now available for the applications in Universal Windows 10 App mode.
Handling the Multiline Zone control by programming
To access the controls found in a static line of a multiline zone, use the following syntax:
<Name of Multiline Zone>.<Control Name>
For example:
MZ_General.STC_N_of_xxx = StringBuild("Number of Order Form: %1", ORDER.OrderNum)
To handle the elements found in a dynamic line of a multiline zone, you must use the subscript of the line to handle. The syntax is as follows:
<Name of Multiline Zone>[<Subscript>].<Control Name> = <Value>
For example:
nLine is int = mlzAddLine(MZ_Products)
MZ_Products[nLine].STC_NameProdLine = stLine.sProdCap
MZ_Products[nLine].STC_NameProdLine..Color = LightBlue
MZ_Products[nLine].EDT_QtyLine = stLine.nQuantity
Notes:
  • The subscript "1" corresponds to the first line of multiline zone. All lines are numbered (static lines and dynamic lines). If the multiline zone contains static lines and dynamic lines, the number of static lines must be taken into account.
  • The dynamic lines of a multiline zone can be handled by several WLanguage functions.
Minimum required version
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment