PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN
This content has been translated automatically. Click here to view the French version.
  • Describing an Organizer control
  • Popup menu proposed automatically
  • Customizing the appointment area
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Description of an Organizer control (control of a window)
Describing an Organizer control
The Organizer control can be configured in the editor via the description window ("Details" tab).
Versions 24 and later
Android Organizer controls are now available on Android applications.
iPhone/iPad Organizer controls now are available on iPhone/iPad applications.
New in version 24
Android Organizer controls are now available on Android applications.
iPhone/iPad Organizer controls now are available on iPhone/iPad applications.
Android Organizer controls are now available on Android applications.
iPhone/iPad Organizer controls now are available on iPhone/iPad applications.
The available options are as follows:
  • Parameters of the organizer:
    • Display mode and granularities: By default, the appointments are displayed:
      • WINDEV over a 5-day week, with move granularity and duration granularity set to 30 minutes.
      • AndroidiPhone/iPad over a day, with move granularity set to 15 minutes and duration granularity set to one hour.
      When clicking the display options, a window is opened, allowing you to define the different display options:
      It is possible to define the following elements:
      • Display mode of the Organizer control: Allows you to define the duration of the displayed range: Day, month, week, ... or custom number of days.
      • Granularity of appointments: Corresponds to the precision of the Organizer control. The appointments can start on a multiple of XX minutes, hours, ... and they can have a duration multiple of XX minutes, hours, ... The arrow button is used to enter preset values. The lock is used to link (or not) the values.
      When validating this window, the selected characteristics are summarized in the description window of control.
    WINDEV The display mode can be modified by the user via the popup menu of the control.
  • The "Remember mode" option allows the display mode chosen by the user to be memorized and reapplied..
  • 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.
    • The "Display the week number" option allows you to indicate whether the week number is to be displayed or not.. It is then possible to specify its format. In the format, the '%1' string corresponds to the week number. Example of format: "Wk. %1".
    • The "ISO 8601 format" option ensures that the numbering of the weeks will conform to the ISO 8601 standard.
    • The option "Display the month if necessary" allows you to indicate the name of the month in abbreviated form in the first date displayed in the field (if the date mask does not display the month)..
  • Time slot:
    • The visible time slot is the time range that will be displayed in the control.
    • The working time slot corresponds to the time slot for which an appointment can be defined.
      It is possible to modify these values by clicking on the double arrow.
      To define specific time slots, use OrganizerWorkingHour.
    • The option "Modify the range during the resize operation" allows to enlarge the time range when enlarging the field. For example, if the time slot goes from 9:00 to 18:00, when the control is enlarged, this visible time slot can become 6:00 to 23:00. In this case, the height of the rows remains constant.
  • WINDEV Characteristics of the appointment: The "Overlaying" option allows you to define the management of the overlapping of several appointments. The appointments can be displayed side by side or they can be shifted.
  • Other parameters:
    • WINDEV "Allow time range selection": Allows the user to select a period with the mouse.
    • "Allow direct input of an appointment": Allows the user to directly enter an appointment in the Organizer control.
      WINDEV By default, the appointment goes into editing, and the user can enter the appointment title.
      AndroidiPhone/iPad By default, a "+" sign appears in the selected period in day and week mode. An appointment can be created by clicking on "+".
      It is possible to display a window to set the appointment options.
    • 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. This area is used to enter the daily appointments.
  • Edit with the mouse (or touch):
    • WINDEV "Modify duration": You can allow (or not) the user to modify the appointment duration.
    • "Move". You can allow (or not) the user to move an appointment.
    • "Allow the user to overlap". If this option is selected, the user will be able to overlap appointments when moving them.
      WINDEV In this case, the options defined for overlapping appointments (offset or side by side) will be taken into account.
WINDEV

Popup menu proposed automatically

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.
    Versions 16 and later
    Remarks: 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.
    New in version 16
    Remarks: 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.
    Remarks: 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.
  • Versions 17 and later
    Print the content of the Organizer control.
    New in version 17
    Print the content of the Organizer control.
    Print the content of the Organizer control.

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, ...
Versions 17 and later
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 "Appointments" element and modify the requested characteristics.
    You can:
    • use a shadow,
    • use a separator in dots between hours,
    • define the title and background options:
      • solid background,
      • gradient background,
      • Versions 22 and later
        Solid background, multiline title and bottom line. This option is used to display the title on several lines (especially if the appointment is not wide enough to entirely display the title).
        New in version 22
        Solid background, multiline title and bottom line. This option is used to display the title on several lines (especially if the appointment is not wide enough to entirely display the title).
        Solid background, multiline title and bottom line. This option is used to display the title on several lines (especially if the appointment is not wide enough to entirely display the title).
    • define the fonts used, ...
New in version 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 "Appointments" element and modify the requested characteristics.
    You can:
    • use a shadow,
    • use a separator in dots between hours,
    • define the title and background options:
      • solid background,
      • gradient background,
      • Versions 22 and later
        Solid background, multiline title and bottom line. This option is used to display the title on several lines (especially if the appointment is not wide enough to entirely display the title).
        New in version 22
        Solid background, multiline title and bottom line. This option is used to display the title on several lines (especially if the appointment is not wide enough to entirely display the title).
        Solid background, multiline title and bottom line. This option is used to display the title on several lines (especially if the appointment is not wide enough to entirely display the title).
    • define the fonts used, ...
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 "Appointments" element and modify the requested characteristics.
    You can:
    • use a shadow,
    • use a separator in dots between hours,
    • define the title and background options:
      • solid background,
      • gradient background,
      • Versions 22 and later
        Solid background, multiline title and bottom line. This option is used to display the title on several lines (especially if the appointment is not wide enough to entirely display the title).
        New in version 22
        Solid background, multiline title and bottom line. This option is used to display the title on several lines (especially if the appointment is not wide enough to entirely display the title).
        Solid background, multiline title and bottom line. This option is used to display the title on several lines (especially if the appointment is not wide enough to entirely display the title).
    • define the fonts used, ...
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, in the internal component "WDAAF".
      WINDEV By default, this window is named IW_WinDevViewAPT.wdw.
      AndroidiPhone/iPad By default, this window is named IW_WinDevMobileViewAPT.wdw.
      Remarks:
      • You also have the ability to use any internal window of your project.
      • The default internal window works only in Day/Week display mode. This window does not operate in Month display mode.
      • Caution: this internal window can only be used to customize the drawing regarding the display of appointments. Only the process for declaring the global variables is run. No other process is run. Therefore, you cannot add buttons with a specific click code.
  3. The internal window is available in the project explorer, in the "Internal component" folder. It can be modified in the window editor.
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment