|
|
|
|
|
- Overview
- Initializing a Looper control populated programmatically
- Adding rows in a Looper control populated programmatically
- Remark
- Selecting a row
- Modifying the attributes or controls of a row
- Modifying all the attributes or controls of a row
- Modifying an attribute or a control
- Deleting a row
Looper controls populated programmatically: Operations in WLanguage
Here is an overview of how to handle Looper controls populated programmatically in WLanguage. There are multiple WLanguage functions to handle this type of control. Initializing a Looper control populated programmatically Rows are not automatically created in a Looper control. This must be specified by calling: Adding rows in a Looper control populated programmatically Rows can be added in a Looper control populated programmatically: Remark To make the code easier to read, you can use the following method: - Add an empty row.
- Assign each attribute or control one by one.
An error automatically occurs when deleting an attribute or a control. However, the display time may be longer. Selecting a row A row cannot be selected. Modifying the attributes or controls of a row Modifying all the attributes or controls of a row For example:
// Modify the row #3 LooperModify(LOOP_Looper1, "Highlander" + TAB + "103min" + TAB + "Unknown" + ... TAB + "C. Lambert" + TAB + "" + TAB + "RO120", 3)
To edit the attributes or controls of the current row, there is no need to specify the index. Modifying an attribute or a control To modify an attribute or a control, specify the name of the attribute or control to modify. - Modifying the attribute or control of a specific row: The row index must be specified.
- Modifying an attribute or control in the current row: There is no need to specify the index.
The deletion of a row must be explicitly requested by LooperDelete. The following syntax is used:
LooperDelete(<Looper control> [, <Index>]) If the index is specified, LooperDelete deletes the row that corresponds to that index. Otherwise, the current row is deleted. For example:
LooperDelete(LOOP_CUSTOMER)
Deleting a row in a Looper control also deletes all the values of the attributes or controls for that row.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|