PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Characteristics of added dynamic line
  • Error case
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
Adds a new dynamic line into a Multiline Zone control. This line is added at the end of the zone of dynamic lines.
The dynamic line was previously defined in edit ("Define as being the repeated line of control" checked in the "General" tab of the description window of control).
Versions 18 and later
Android This function is now available for the 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 the Android applications.
WINDEVWindows This function is now available for the WINDEV applications in Windows.
Android This function is now available for the 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
// Add a network
nLine is int
nLine = mlzAddLine(MZ_Network)
MZ_Network[nLine].STC_NetworkName = "Network"
MZ_Network[nLine].IMG_Available..Visible = True
Syntax
<Result> = mlzAddLine(<Multiline Zone Control>)
<Result>: Integer
Subscript of added line.
<Multiline Zone Control>: Control name
Name of Multiline Zone control to use.
Remarks

Characteristics of added dynamic line

  • The added dynamic line is empty by default.
  • To customize the line (caption, color, visibility of elements, ...), the controls must be modified by the following syntax:
    <Name of Multiline Zone>[<Subscript>].<Control Name>..<Property> = <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
  • The added line is not selected by default. To select the added line, the value of the line subscript must be assigned to the multiline zone.
    For example:
    nLine is int = mlzAddLine(MZ_Products)
    MZ_Products = nLine

    or
    nLine is int = mlzAddLine(MZ_Products)
    MZ_Products..Value = nLine
  • When adding the dynamic line, the initialization processes of the controls found in the line are run.
  • The size of the Multiline Zone control is modified to take the added line into account: the control is enlarged to the bottom. If controls are located below the multiline zone, they are moved to the bottom. The useful window height is enlarged accordingly: you have the ability to scroll the window with the finger to see the bottom of the multiline zone and the controls that may be possibly located below this zone.

Error case

An error occurs in the following cases:
  • no dynamic line was defined in the Multiline Zone control.
  • more than 300 dynamic lines are found in the multiline zone.
  • one of the initialization processes of the line controls triggers an error.
Minimum required version
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment