ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Multiline Zone control
  • Overview
  • Handling Multiline Zone controls programmatically
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 programmatically handle Multiline Zone controls:
  • A Multiline Zone control can be handled programmatically using the control name. This page presents the different operations available.
  • There are multiple WLanguage functions to handle the dynamic rows of a Multiline Zone control.
This help page explains how to programmatically handle Multiline Zone controls.
Handling Multiline Zone controls programmatically
To access the controls in a static row of a Multiline Zone control, simply use the following syntax:
<Multiline Zone control>.<Control name>
For example:
MZ_General.STC_N_of_xxx = StringBuild("Number of Order Form: %1", ORDER.OrderNum)
To handle the elements in a dynamic row of a Multiline Zone control, you must use the index of the row to handle. The syntax is as follows:
<Multiline Zone control>[<Index>].<Control name> = <Value>
For example:
nRow is int = MZ_Products.AddLine()
MZ_Products[nRow].STC_NameProdRow = stRow.sProdCap
MZ_Products[nRow].STC_NameProdRow.Color = LightBlue
MZ_Products[nRow].EDT_QtyRow = stRow.nQuantity
Remarks:
  • Index "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 rows of a Multiline Zone control can be handled using different WLanguage functions.
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/17/2022

Send a report | Local help