PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview of the Multiline Zone control
  • Creating a Multiline Zone control
  • Characteristics of the Multiline Zone control
  • Describing a line
  • Style of multiline zone
  • Static use of the multiline zone
  • Dynamic use of the multiline zone
  • Status of multiline zone
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 of the Multiline Zone control
The Multiline Zone control allows you to easily create interfaces in iOS style. For example:
This control is used to group several controls:
  • options on a category,
  • group of information about a contact,
  • ...
This control can contain at the same time:
  • lines defined in edit (static lines).
  • lines defined at run time, by programming (dynamic lines).
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.
Creating a Multiline Zone control
To create a Multiline Zone control:
  1. In the window editor, click (or select "Insert .. Control .. Multiline zone").
  2. Click the position where the control will be created in the window.
To create a Multiline Zone control:
  1. On the "Creation" pane, in the "Data" group:
    • WINDEV Mobile click "Multiline zone".
    • Versions 18 and later
      WINDEV expand "Looper" and click "Multiline zone".
      New in version 18
      WINDEV expand "Looper" and click "Multiline zone".
      WINDEV expand "Looper" and click "Multiline zone".
  2. Click the position where the control will be created in the window.
Notes:
  • iPhone/iPad The wizard for creating windows for iPhone and iPad can also be used to create preset multiline zones. See Windows for iPhone and iPad for more details.
  • Versions 20 and later
    WINDEV Mobile The dimensions of created control are optimized in order to occupy the available space at the specified position. If the control size does not suit your, press [CTRL + Z]: the default control size will be restored.
    New in version 20
    WINDEV Mobile The dimensions of created control are optimized in order to occupy the available space at the specified position. If the control size does not suit your, press [CTRL + Z]: the default control size will be restored.
    WINDEV Mobile The dimensions of created control are optimized in order to occupy the available space at the specified position. If the control size does not suit your, press [CTRL + Z]: the default control size will be restored.
By default, the created control contains a single empty "static" line. This control is customized in its description window.
To display the control characteristics, select "Description" from the popup menu of control.
Characteristics of the Multiline Zone control

Describing a line

The "General" tab in the description window of a multiline zone is used to:
  • define the parameters of the current line,
  • add a new line,
  • Versions 22 and later
    duplicate an existing line,
    New in version 22
    duplicate an existing line,
    duplicate an existing line,
  • delete an existing line.
When adding a new line ("New line" button) or when modifying the current line ("Modify the line type" button or double click on the line), a wizard allows you to create a default content, corresponding to the most common uses:
  • a check box button,
  • a caption with a sub-caption directing to a list of choices, ...
When validating the description window, the Multiline zone control is updated with the selected lines.
The controls corresponding to the selected line options are automatically created.
Versions 18 and later

Style of multiline zone

The "Style" tab in the description window of a multiline zone is used to configure the characteristics:
  • of the control caption.
  • of the outside border.
  • of the inside border.
  • of the selected line.
New in version 18

Style of multiline zone

The "Style" tab in the description window of a multiline zone is used to configure the characteristics:
  • of the control caption.
  • of the outside border.
  • of the inside border.
  • of the selected line.

Style of multiline zone

The "Style" tab in the description window of a multiline zone is used to configure the characteristics:
  • of the control caption.
  • of the outside border.
  • of the inside border.
  • of the selected line.

Static use of the multiline zone

A multiline zone is static if "Define as being the repeated line of control" ("General" tab) is not checked for any of the lines.
In this case, the Multiline Zone control is used to simplify the interface by grouping the elements by "theme".
For example, a static Multiline Zone control will be used in a form to enter the first and last names of a contact, his address, ...
In this case, the content will be static and the number of lines will be fixed. For example, for the identity:
  • a line for the company,
  • a line for the last name,
  • a line for the first name.
In this case, the controls found on each line are linked to the corresponding item in the data file of customers.
Another example: a static multiline zone used to get the behavior of a radio button:

Dynamic use of the multiline zone

A multiline zone is dynamic if "Define as being the repeated line of control" ("General" tab) is checked for one of the lines found in the multiline zone. This option can be checked for a single line only.
In this case, lines can be added by programming (for example, a list of options or a list of possible values according to a choice or to a database).
For example:
Here, the first line is a static line and the lines of products correspond to a dynamic line in the editor.
A line can be added by mlzAddLine. See Functions for managing the multiline zones for more details.

Status of multiline zone

If the Multiline Zone control is "inactive" or "grayed", the click process is not run and its lines cannot be selected.
Related Examples:
WM CRM Cross-platform examples (WINDEV Mobile): WM CRM
[ + ] WM CRM is a multi-platform project for Android and iOS.
It explains how to develop a CRM application intended to the Android and iPad tablets.
The Multiline Zone control Unit examples (WINDEV): The Multiline Zone control
[ + ] Using a Multiline Zone control
Minimum required version
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment