|
|
|
|
|
- Overview
- How to?
- Creating a TimeLine control based on a data file
- Creating a TimeLine control based on a variable
- Handling a TimeLine control based on a data file or variable
- TimeLine control file
- TimeLine control based on a variable
TmeLine control linked to a data file or variable
You can create TimeLine controls directly linked to the data. You can create: - an TimeLine field file: the TimeLine field will be linked to a data file or a query. In this case, the data file contains the characteristics of the events.
- TimeLine control on variable: the TimeLine control is linked to a variable (usually a class instance).. In this case, the class lists the events and their characteristics.
The programming of the TimeLine controls is simplified. Creating a TimeLine control based on a data file To create a Timeline control based on a data file: - Open the control description window (select "Description" in the context menu).
- In the "Content" tab, select the "Data file/Query" option and choose the data source you wish to use. This data source can be:
- a data file defined in the analysis,
- a query of the project,
- a query included in the window.
- Associate the different items of the data source with the characteristics of the event. The elements preceded by a star are mandatory.
Note If the associated data file does not directly contain the corresponding item, it is possible to create a multi-file binding. - Validate the TimeLine control description window. The TimeLine control is based on a data file.
Creating a TimeLine control based on a variable To create a TimeLine control based on a variable: - Open the control description window (select "Description" in the context menu).
- In the "Content" tab, select the "Variable" option and select the data source used (class, etc.).
- Associate the different elements (members of the class for example) of the data source with the characteristics of the event. The elements preceded by a star are mandatory.
- Validate the TimeLine control description window. The TimeLine control is based on a variable.
Handling a TimeLine control based on a data file or variable TimeLine control file TimeLine controls based on a data file are very easy to handle: - If the user handles the timeline via the context menu, all additions, deletions and changes made to the events will be automatically applied to the data file linked to the control.
- If the user handles the events via a specific window, all you have to do is modify the data file linked to the timeline. The displayed data will be automatically updated. It is also possible to use TimelineDisplay to update the data displayed in the control.
Remark: If the field is linked to a data source, any deletion made in the field is also made in the linked data source.. TimeLine control based on a variable TimeLine controls based on a variable are very easy to handle: - If the user handles the timeline via the context menu, all additions, deletions and changes made to the events will be automatically applied to the data source of the control.
- If the user handles the events via a specific window, all you have to do is modify the elements linked to the timeline (class members for example). The displayed data will be automatically updated. It is also possible to use TimelineDisplay to update the data displayed in the control.
Remark: If the field is linked to a data source, any deletion made in the field is also made in the linked data source..
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|