|
|
|
|
|
- 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 (prefix syntax)
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 LOOP_Looper1.Modify("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 <Looper>.Delete. The following syntax is used:
<Looper control>.Delete([Index]) If the index is specified, <Looper>.Delete deletes the row that corresponds to that index. Otherwise, the current row is deleted. For example:
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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|