PC SOFT

WINDEV的在线文档

  • Overview
  • Control found in a window, page or report
  • Creating an Organizer control
  • Describing an Organizer control (window editor and page editor)
  • The options of the control (window editor and page editor)
  • A popup menu automatically proposed
  • Customizing the appointment area
  • Modes for filling an Organizer control
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Overview

Control found in a window, page or report

The Organizer control is used to display and handle the organizers. The display can be done on a daily, weekly or monthly basis.

The time period, the first day of the week and the number of days to display can be configured. These parameters can be easily defined from the description window of the control.

17版本和更高版本
WinDev The Organizer controls are now available in the reports.
17新版本
WinDev The Organizer controls are now available in the reports.
WinDev The Organizer controls are now available in the reports.

Creating an Organizer control
To create an Organizer control in a window:
  1. Click(or select "Insert .. Control .. Organizer control").
  2. Click the position where the control must be created in the window.
The control appears in creation mode.The wizard for control creation starts. Answer the questions and validate. The control appears in creation mode.

To display the characteristics of the control, select "Description" from the popup menu of the control.

17版本和更高版本
Note: The Organizer controls are available in the Organizer reports. See Organizer report for more details.
17新版本
Note: The Organizer controls are available in the Organizer reports. See Organizer report for more details.
Note: The Organizer controls are available in the Organizer reports. See Organizer report for more details.
To create an Organizer control in a window or in a page:
  1. On the "创建" pane, in the "显示控件" group, expand "时间" and click "Organizer".
  2. Click the position where the control must be created in the window or in the page.
    The wizard for control creation starts. Answer the questions and validate. The control appears in creation mode.
20版本和更高版本
WinDev Note: The dimensions of the created control are optimized in order to occupy the available space at the specified position. If the size of the control does not suit your, press [CTRL Z]: the default size of the control will be restored.
20新版本
WinDev Note: The dimensions of the created control are optimized in order to occupy the available space at the specified position. If the size of the control does not suit your, press [CTRL Z]: the default size of the control will be restored.
WinDev Note: The dimensions of the created control are optimized in order to occupy the available space at the specified position. If the size of the control does not suit your, press [CTRL Z]: the default size of the control will be restored.

To display the characteristics of the control, select "Description" from the popup menu of the control.

Note: The Organizer controls are available in the Organizer reports. See Organizer report for more details.

Describing an Organizer control (window editor and page editor)

The options of the control (window editor and page editor)

The Organizer control can be configured in the editor via the description window ("Details" tab).

The available options are as follows:

  • Display mode: By default, the display is performed on a weekly basis but an organizer can also be displayed on a daily basis or on a monthly basis. This display mode can be modified by the user via the popup menu of the control.
    WinDev If "Storing the mode" is checked, the mode selected by the user will be automatically applied.
  • First day: First day displayed in the Organizer control
  • Number of days: Number of days displayed in the Organizer control for a week.
  • 16版本和更高版本
    Display mask for the date: Used to define the format of the date displayed at the top of the "day" columns of the Organizer control.
    17版本和更高版本
    You also have the ability to indicate whether the week number must be displayed or not, as well as its format. In the format, the '%1' string corresponds to the week number. Example of format: "Wk. %1".
    17新版本
    You also have the ability to indicate whether the week number must be displayed or not, as well as its format. In the format, the '%1' string corresponds to the week number. Example of format: "Wk. %1".
    You also have the ability to indicate whether the week number must be displayed or not, as well as its format. In the format, the '%1' string corresponds to the week number. Example of format: "Wk. %1".
    16新版本
    Display mask for the date: Used to define the format of the date displayed at the top of the "day" columns of the Organizer control.
    17版本和更高版本
    You also have the ability to indicate whether the week number must be displayed or not, as well as its format. In the format, the '%1' string corresponds to the week number. Example of format: "Wk. %1".
    17新版本
    You also have the ability to indicate whether the week number must be displayed or not, as well as its format. In the format, the '%1' string corresponds to the week number. Example of format: "Wk. %1".
    You also have the ability to indicate whether the week number must be displayed or not, as well as its format. In the format, the '%1' string corresponds to the week number. Example of format: "Wk. %1".
    Display mask for the date: Used to define the format of the date displayed at the top of the "day" columns of the Organizer control.
    17版本和更高版本
    You also have the ability to indicate whether the week number must be displayed or not, as well as its format. In the format, the '%1' string corresponds to the week number. Example of format: "Wk. %1".
    17新版本
    You also have the ability to indicate whether the week number must be displayed or not, as well as its format. In the format, the '%1' string corresponds to the week number. Example of format: "Wk. %1".
    You also have the ability to indicate whether the week number must be displayed or not, as well as its format. In the format, the '%1' string corresponds to the week number. Example of format: "Wk. %1".
  • Visible time slot: Time period that will be displayed in the control.
  • Working time period: Time period for which an appointment can be defined.
  • WinDev Modify the range during the resize operation: Used to enlarge the time period when the control is enlarged. For example, if the time period goes from 9:00 to 18:00, when the control is enlarged, this visible time period can become 6:00 to 23:00. In this case, the height of the rows remains constant.
  • Characteristics of the appointment
    • Overlap: Used to define how the overlap is managed. The appointments can be displayed side by side or they can be shifted.
    • Granularity: Display granularity of the Organizer control. By default, the granularity is set to 30 minutes.
      16版本和更高版本
      You can define:
      • the granularity regarding the move of an appointment. If the granularity for the move is set to 30 minutes, the appointments can be moved by period of 30 minutes.
      • the granularity of the appointment duration. If the granularity for the duration is set to 10 minutes, the duration of an appointment will be a multiple of 10.
      16新版本
      You can define:
      • the granularity regarding the move of an appointment. If the granularity for the move is set to 30 minutes, the appointments can be moved by period of 30 minutes.
      • the granularity of the appointment duration. If the granularity for the duration is set to 10 minutes, the duration of an appointment will be a multiple of 10.
      You can define:
      • the granularity regarding the move of an appointment. If the granularity for the move is set to 30 minutes, the appointments can be moved by period of 30 minutes.
      • the granularity of the appointment duration. If the granularity for the duration is set to 10 minutes, the duration of an appointment will be a multiple of 10.
The options regarding the operations performed on the control are as follows:
  • Allow the selection of periods: Allows the user to select a period with the mouse.
  • Allow the direct input of an appointment: Allows the user to directly enter an appointment in the Organizer control.
  • 18版本和更高版本
    WinDev Display and allow the appointments for the entire day: Used to specify that an appointment can correspond to a whole day. In this case, a specific area is displayed at the top of the Organizer control. The area is used to enter the appointments for the day.
    18新版本
    WinDev Display and allow the appointments for the entire day: Used to specify that an appointment can correspond to a whole day. In this case, a specific area is displayed at the top of the Organizer control. The area is used to enter the appointments for the day.
    WinDev Display and allow the appointments for the entire day: Used to specify that an appointment can correspond to a whole day. In this case, a specific area is displayed at the top of the Organizer control. The area is used to enter the appointments for the day.
  • 18版本和更高版本
    Display and allow the appointments for the entire day: Used to specify that an appointment can correspond to a whole day. In this case, a specific area is displayed at the top of the Organizer control. The area is used to enter the appointments for the day.
    18新版本
    Display and allow the appointments for the entire day: Used to specify that an appointment can correspond to a whole day. In this case, a specific area is displayed at the top of the Organizer control. The area is used to enter the appointments for the day.
    Display and allow the appointments for the entire day: Used to specify that an appointment can correspond to a whole day. In this case, a specific area is displayed at the top of the Organizer control. The area is used to enter the appointments for the day.

The edit options via the mouse are as follows:
  • Modifying the duration. You can allow (or not) the user to modify the duration of an appointment.
  • Movement. You can allow (or not) the user to move an appointment.
  • 17版本和更高版本
    WinDev Allow the user to make the appointments overlap. If this option is checked, when moving appointments, the user will be able to make them overlap. In this case, the options defined for overlapping appointments (offset or side by side) will be taken into account.
    17新版本
    WinDev Allow the user to make the appointments overlap. If this option is checked, when moving appointments, the user will be able to make them overlap. In this case, the options defined for overlapping appointments (offset or side by side) will be taken into account.
    WinDev Allow the user to make the appointments overlap. If this option is checked, when moving appointments, the user will be able to make them overlap. In this case, the options defined for overlapping appointments (offset or side by side) will be taken into account.

WinDev

A popup menu automatically proposed

The Organizer control can display a specific popup menu proposing automatic features to the user. This menu is proposed by the AAF (Automatic Application Features).

This menu allows the user to:

  • Modify the display mode of the Organizer control: daily, weekly, monthly display or display of the current day only.
  • Add, delete or modify an appointment when selecting a time period.
    16版本和更高版本
    Notes: If the control is linked to a data source, the deletion performed in the control is performed at the same time in the linked data source.
    16新版本
    Notes: If the control is linked to a data source, the deletion performed in the control is performed at the same time in the linked data source.
    Notes: If the control is linked to a data source, the deletion performed in the control is performed at the same time in the linked data source.
  • 17版本和更高版本
    Print the content of the Organizer control.
    17新版本
    Print the content of the Organizer control.
    Print the content of the Organizer control.
See Automatic features of the Organizer control for more details.

Customizing the appointment area

In the Organizer control, the appointment is displayed in a specific area. You have the ability to translate and customize this area: color of title, background color of the appointment, ...

17版本和更高版本
To modify the aspect of the appointments proposed by default, you have the ability to modify the style options defined for this element.
  1. Display the description window of the Organizer control.
  2. In the "Style" tab, select the elements regarding the appointment and modify the requested characteristics.
17新版本
To modify the aspect of the appointments proposed by default, you have the ability to modify the style options defined for this element.
  1. Display the description window of the Organizer control.
  2. In the "Style" tab, select the elements regarding the appointment and modify the requested characteristics.
To modify the aspect of the appointments proposed by default, you have the ability to modify the style options defined for this element.
  1. Display the description window of the Organizer control.
  2. In the "Style" tab, select the elements regarding the appointment and modify the requested characteristics.

WinDev To customize the display of appointments:
  1. Display the description window of the Organizer control.
  2. In the "General" tab, select the internal window used for the appointments:
    • "None": the default display will be used.
    • "Preset window": a preset window is automatically added to the project. By default, this window is named IW_WinDevViewAPT.wdw.
      Notes:
      • You also have the ability to use any internal window of your project.
      • The IW_WinDevAPTView window operates in Day/Week display mode only. This window does not operate in Month display mode.
  3. The internal window is available in the project explorer. It can be modified in the window editor.

Modes for filling an Organizer control

An Organizer control can be filled: