|
|
|
|
|
- Overview
- How to?
- Creating an Organizer control based on a data file
- Creating an Organizer control based on a variable
- Handling an Organizer control based on a data file or variable
- Organizer control file
- Organizer control based on a variable
Organizer control linked to a data file or to a variable
It is possible to create Organizer control fields directly linked to data.. You can create: - a Organizer control file Organizer control: the Organizer control will be linked to a data file or a query. In this case, the data file contains the characteristics of the appointments.
- a variable-based Organizer control The Organizer control will be linked to a variable (usually a class instance). In this case, the class lists the appointments with their characteristics.
Programming Organizer controls has been greatly simplified: it is no longer necessary to use Organizerxxx functions directly.. Creating an Organizer control based on a data file To create a Organizer control based on a data file, you can: - use the wizard for creating the Organizer control. Simply select the option "Display data from an existing data file or query". Answer the questions in the wizard and validate.
- modify the description of the Organizer control.
To modify the characteristics of an existing Organizer control: - 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 or page.
- Bind the different items of the data source to the characteristics of the appointment. 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 description window of the Organizer control. The Organizer control is now based on a data file.
Creating an Organizer control based on a variable To create an Organizer control based on a variable, you can: - use the wizard for creating the Organizer control. To do so, select "Display data from an existing variable". Answer the questions in the wizard and validate.
- modify the description of the Organizer control.
To modify the characteristics of an existing Organizer control: - Open the control description window (select "Description" in the context menu).
- In the "Content" tab, select the "By variable" option and select the data source used (class, etc.)..
- Bind the different elements (class members, for example) of the data source to the characteristics of the appointment. The elements preceded by a star are mandatory.
- Validate the description window of the Organizer control. The Organizer control is now based on a variable.
Handling an Organizer control based on a data file or variable Organizer control file Organizer controls based on a data file are very easy to handle: - If the Organizer control allows the modification of the duration and/or the move of appointments, the modifications made to the appointment will be automatically applied to the data file linked to the control.
Organizer control based on a variable Organizer controls based on a variable are very easy to handle: - If the Organizer control allows the modification of the duration and/or the move of appointments, the modifications made to the appointment will be automatically applied to the data source linked to the control.
Related Examples:
|
Training (WEBDEV): WW_Organizer
[ + ] The WW_Organizer example is an example for using the Organizer control of WEBDEV.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|