|
- Overview
- Creating an Organizer report
- Creating the report
- Information specific to the creation of Agenda report
- Characteristics of Organizer report and Organizer control
- Handling an organizer in a report by programming
- WLanguage functions
- WLanguage properties
The report editor gives you the ability to create "Organizer" reports. In this case, the report includes an Organizer control only. This type of control is created when creating an Organizer report: it cannot be created independently of this report. Example:
In the editor, this control includes two blocks: - The "Header" block, displaying the titles of the organizer columns.
- The "Organizer" block, displaying the appointments in an Organizer control.
Versions 21 and later New in version 21 Creating an Organizer report Creating the report To create an "Organizer" report: - Click
among the quick access buttons. - The element creation window appears: click "Report" then "Report".
- The report creation wizard starts.
- Select an "Organizer or Scheduler" report.
- In the rest of the wizard, specify:
Information specific to the creation of Agenda report The information specific to the creation of the Organizer report is: - Initial display mode: The organizer can be displayed:
- on a daily basis,
- on a weekly basis,
- on a monthly basis.
- The granularity of gridlines. This granularity is used to define the size of the grid used to display the gridlines of Organizer control. This granularity is set to 30 minutes by default. This information must be modified according to the number of days to display.
This characteristic can be modified by programming via ..GranularityGridlines.
Remark: If the Organizer report is linked to a data source (query, data file), you must specify the items that will be taken into account for displaying the appointments. The following information must be specified: - the title of appointment.
- the start and end dates of appointment.
Characteristics of Organizer report and Organizer control You have the ability to modify the following characteristics of Organizer report: - The data source of Organizer report can be modified in the "Data" tab of description window of report ("Report description" from the popup menu of report).
- The "General" tab of description window of Organizer control is used to specify:
- the initial display mode: Day, week, month.
- the number of days displayed.
- the visible time period.
- the first day of the week.
- the granularity of gridlines.
Versions 18 and laterthe display of appointments for the entire day. If the option "Show all-day appointments" is checked, the report supports appointments for which the feature "Entire day" is maintained (for more details, see Appointment variable). In this case, an area used to display the daily appointments appears in the organizer: Remark: Make sure that the area used to display the daily appointments has the proper dimensions in the report editor. It can be resized if necessary. New in version 18the display of appointments for the entire day. If the option "Show all-day appointments" is checked, the report supports appointments for which the feature "Entire day" is maintained (for more details, see Appointment variable). In this case, an area used to display the daily appointments appears in the organizer: Remark: Make sure that the area used to display the daily appointments has the proper dimensions in the report editor. It can be resized if necessary. the display of appointments for the entire day. If the option "Show all-day appointments" is checked, the report supports appointments for which the feature "Entire day" is maintained (for more details, see Appointment variable). In this case, an area used to display the daily appointments appears in the organizer: Remark: Make sure that the area used to display the daily appointments has the proper dimensions in the report editor. It can be resized if necessary. - the display mask for the date and schedules.
Versions 20 and laterthe custom report to display the appointments. - If the selected option is "None", the default display is used.
- If "Preset report" is selected, a preset report is automatically added to the project. This report is named "RPT_WinDevViewAPT" by default and it is automatically used to display appointments. This report can be customized, renamed, etc.
- If the selected option corresponds to a project report, this report will be used to display the appointments.
We advise you to customize the report proposed by default. The same report can be used to customize the appointments in a Scheduler or Organizer report.
New in version 20the custom report to display the appointments. - If the selected option is "None", the default display is used.
- If "Preset report" is selected, a preset report is automatically added to the project. This report is named "RPT_WinDevViewAPT" by default and it is automatically used to display appointments. This report can be customized, renamed, etc.
- If the selected option corresponds to a project report, this report will be used to display the appointments.
We advise you to customize the report proposed by default. The same report can be used to customize the appointments in a Scheduler or Organizer report.
the custom report to display the appointments. - If the selected option is "None", the default display is used.
- If "Preset report" is selected, a preset report is automatically added to the project. This report is named "RPT_WinDevViewAPT" by default and it is automatically used to display appointments. This report can be customized, renamed, etc.
- If the selected option corresponds to a project report, this report will be used to display the appointments.
We advise you to customize the report proposed by default. The same report can be used to customize the appointments in a Scheduler or Organizer report.
- If the Organizer control is linked to a data source (data file, query, ...), the "Content" tab found in the description window of the control is used to linked the appointment data with the data found in the data source.
- The "Style" tab of the Organizer control description window is used to specify the style of the appointments displayed in the Organizer control.
Handling an organizer in a report by programming WLanguage functions Several WLanguage functions are available in the report editor for handling the Organizer controls. These functions are:
| | OrganizerAddAppointment | Adds a new appointment into an Organizer control. | OrganizerBackgroundColor | Defines a background color for a time slot in an Organizer control. | OrganizerChangeMode | Modifies the time range displayed by an Organizer control (Day/Week/Month). | OrganizerChangeZoom | Modifies the time range displayed by an Organizer control (Day/Week/Month). This function is kept for backward compatibility. | OrganizerDeleteAll | Deletes all appointments from an Organizer control. | OrganizerDeleteAppointment | Deletes an appointment from an Organizer control. | OrganizerListAppointment | Returns: - the list of appointments found between two dates in an Organizer control,
- all appointments found in an Organizer control,
- a specific appointment (selected or hovered).
| OrganizerMode | Returns the display mode of an Organizer control: day, week, month, ... | OrganizerPosition | Displays an Organizer control from a specified date or returns the date of the first day (or the date of the last day) displayed in an Organizer control. | OrganizerTimeDisplayed | Defines the time range displayed by the Organizer control in Day mode or in Week mode. | OrganizerZoom | Returns the time range displayed by an Organizer control. |
WLanguage properties Several WLanguage properties are available in the report editor for handling the Organizer controls. These properties are as follows:
| | CaptionPeriodHeader | ..CaptionPeriodHeader is used to find out and modify the content of the period caption displayed in the header of a Scheduler or Organizer control found in a report. | EndDatePeriodDisplayed | ..EndDatePeriodDisplayed is used to find out the end date of the period currently printed in a Scheduler control or in an Organizer control found in a report. | FontAppointmentContent | ..FontAppointmentContent is used to:- Find out the characteristics of the font used for the content of appointments in the Scheduler and Organizer reports.
- Modify the characteristics of the font used for the content of appointments in the Scheduler and Organizer reports.
| FontAppointmentTitle | ..FontAppointmentTitle is used to:- Find out the characteristics of the font used for the title of appointments in the Scheduler and Organizer reports.
- Modify the characteristics of the font used for the title of appointments in the Scheduler and Organizer reports.
| GranularityGridlines | ..GranularityGridlines allows you to find out and modify the size of the grid used to display the gridlines in a Scheduler control or in an Organizer control found in a report. | Height | ..Height is used to know and modify the height:- of a control or block in a report.
- of a control (in a window), window, row of a Table, List Box or ListView control, option of a Radio Button or Check Box control, break header or footer of a Table or Looper control.
- of a control (in a page), break header or footer in a Looper control. The control can be overlayable or not.
| Versions 09 and laterName New in version 09Name Name | ..Name is used to find out:- the name of the font associated with a Font variable.
- the name of a control, report or report block.
- the name of a control, group of controls or window.
- the name of a control, group of controls or page.
| StartDatePeriodDisplayed | ..StartDatePeriodDisplayed is used to find out the start date of the period currently printed in a Scheduler or Organizer control found in a report. | Visible | ..Visible is used to:- Find out whether an element is visible.
- Make an element visible or invisible.
| Versions 09 and laterWidth Width | ..Width is used to find out and modify the width:- of a control or block in a report.
- of a control (found in a window), window, column found in a table or column found in a list box (including listview).
- of a control (found in a page), column found in a table or column found in a list box. The control can be overlayable or not.
| Versions 09 and laterX New in version 09X X | ..X is used to:- Find out the X coordinate of a control, of a Table control column or of a window (position on X axis).
- Modify the X coordinate of a control or window (position on X axis).
| Versions 09 and laterY New in version 09Y Y | ..Y is used to:- Find out the Y coordinate of a control or window (position on Y axis).
- Modify the Y coordinate of a control or window.
|
This page is also available for…
|
|
|
| |
| Click [Add] to post a comment |
|
| |
|
| |
| |
| |
| |
| |
| |
| | |
| |