|
|
|
|
|
- Overview of Linear Looper control
- Page control
- Attributes of a Linear Looper control
- Creating a Linear Looper control
- Vocabulary
- Notes
- Operations in AJAX
- Link of Linear Looper controls
The Linear Looper control
Overview of Linear Looper control Page control A Linear Looper control is used to display a set of controls in a horizontal scrolling list. The Linear Looper control is used to harmoniously display a menu with images for example. The information displayed in the Linear Looper control can: - Linear Looper control by programming.
- come from a data file or a query: this is called an Linear Looper control.
- come from a WLanguage variable: this is referred to as an Linear Looper control on variable.
Remark: The Linear RepeatString field shares many features with the RepeatString field.. It is specifically intended to display a small number of elements in order to propose a nice viewing. Attributes of a Linear Looper control A linear Looper control includes: - controls, that are repeated on each row.
- attributes. An attribute defines the control characteristic that will change on each row. For example, if the value and color of the PRICE control must change on each row, you need to define two different attributes for the same control.
To find out or modify the characteristics of a field (its value, color, etc.), simply manipulate the field or the corresponding attribute programmatically. Creating a Linear Looper control To create a Linear Looper control: - On the "Creation" tab, in the "Data" group, expand "Looper" and click "Linear Looper".
- Click where you want to create the control in the page. The Linear Looper control creation wizard starts automatically.
To view the characteristics of the control, select "Description" in the context menu. There are two types of information: - information about the entire Looper control (select the name of the Looper control).
- the information regarding each attribute of the Looper control (all you have to do is select the name of an attribute in the Looper control).
To easily handle a Linear Looper control, you must be familiar with the following vocabulary: | | Name | Definition |
---|
Attribute | An attribute corresponds to a modifiable value for each element of the Linear Looper control. An attribute can be linked to a property of a control found in the Linear Looper control to make this property change in all the columns.For each attribute, you must define: - the attribute name.
- the name of the control in the linear looper that is linked to the attribute.
- the property of the control corresponding to the attribute (value, color, ...).
| Linear Looper based on a data file | The Linear Looper control is based on a data file or on a query. A record from the data file is displayed on each row. Two types of linear Loopers based on a data file are available:- Linear Looper control file "Loaded into memory ": the contents of the Linear Looper control field are loaded into memory and displayed.. The access to the different elements of the Linear Looper control is faster. This mode is reserved for data files with less than 100,000 records.
- Linear RepeatString file "Direct access mode (unlimited) ": The Linear Looper control directly displays the content of the data file or query.. The current record corresponds to the selected element. Selecting an element in the Looper control triggers an access to the linked data file. This type of Linear Looper control is reserved for data files with more than 100,000 records.
| Linear Looper populated programmatically | The Linear Looper control is neither based on a data file nor on a query. The elements displayed in the Linear Looper control are defined by the developer (through programming). | Linear Looper based on a variable | The Linear Looper control is based on a variable (global to the project or page; class member, etc.). |
Operations in AJAX Linear Looper controls cannot be modified in AJAX (addition or deletion of elements). However, their content can be read from a function or from a process in AJAX mode. Similarly, the processes of the controls displayed by the Linear Looper control can be in AJAX mode. Link of Linear Looper controls
Related Examples:
|
Unit examples (WEBDEV): The Linear Looper control
[ + ] This example explains how to use the "Linear Looper" control of WEBDEV. The "Linear Looper" control is used to create some graphic menus for example.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|