AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Desarrollar una aplicación o un sitio web / Controles, ventanas y páginas / Controles: tipos disponibles / Control Planificador
  • Overview
  • Control found in a window, page or report
  • Creating a Scheduler control (window and page editor)
  • Describing a scheduler (window and page editor)
  • The control options (window editor and page editor)
  • Context menu proposed automatically
  • A deletable appointment
  • Modes for filling a Scheduler control
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Overview

Control found in a window, page or report

The Scheduler control is used to automatically display and handle schedules. It is used to manage the display of multiple resources and it is used in several applications or sites.
The display is performed:
  • on a daily, weekly or montly basis,
  • WINDEV on 6 months or on 1 year.
The time slot, the first day of the week and the number of days to display can be configured. These parameters can be easily defined in the control description window.
WINDEVWEBDEV - Código Servidor Remark: Scheduler control fields are also available in Planning reports.. For more details on how schedulers work in reports, see Scheduler report.
Creating a Scheduler control (window and page editor)
To create a Scheduler control:
  1. On the "Creación" tab, in the "Controles gráficos" group, expand "Tiempo" and select "Scheduler".
  2. Click where the control will be created in the window or page.
  3. WINDEVWEBDEV - Código Servidor The Scheduler control creation wizard starts. Answer the questions and validate.
  4. The control appears in the editor.
Observación: Las dimensiones del control que se creó se optimizan para ocupar el espacio disponible en la ubicación indicada. Si el tamaño del control no es el indicado, pulse Ctrl+Z: el control volverá al tamaño predeterminado.
To view the characteristics of the control, select "Description" in the context menu.
Describing a scheduler (window and page editor)

The control options (window editor and page editor)

The Scheduler control can be customized in the editor, via the description window.
On the "General" tab, you can specify the window or internal page to be used to customize the aspect of appointments. For more details, see Scheduler control: Customize appointments.
The "Details" tab of the Scheduler control contains the following settings:
  • Con botones para cambiar de período Dequeue: This option displays buttons so that the user can dequeue the different periods of the schedule. These buttons are displayed at the top left of schedule.
    AndroidiPhone/iPad This option is not available. Users must swipe sideways to navigate between time ranges.
  • WEBDEV - Código ServidorAndroidiPhone/iPadPHP Número de días que se mostrarán: By default, the schedule is displayed by the month, but it is also possible to display a schedule by the day, by the week (5 or 7 days), by the number of appointments, or by the number of days specified..
  • WINDEV Vista: By default, display is by month, with displacement and duration granularity of one day.. 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:
    • Intervalo total de la planificación: day, week (5 or 7 days), according to the number of appointments, according to the number of days, 6 months, one year.
    • Granularidad de las citas: Corresponds the display precision of schedule. Appointments can start on a multiple of XX minutes, hours, ... and have a duration multiple of XX minutes, hours, etc.. The arrow button is used to enter preset values. The lock is used to link (or not) the values.
    • Intervalo visualizado: The range viewed is calculated from the control size in the editor. By entering the range to view, you get the minimum dimension of the element according to the selected unit.
    • When validating this window, the selected characteristics are summarized in the control description window.
  • Modo de visualización de los recursos: By default, resources are displayed online.
    WINDEVWEBDEV - Código ServidorPHP They can also be displayed by columns.
  • Visualización del tiempo: Allows you to define:
    • the format of the date displayed for the "day" columns (or rows) of the scheduler.
    • whether the time must be displayed or not in the control.
    • the format of the time displayed for the "day" columns (or rows) of scheduler.
    • 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 format: "Sem. %1".
  • Time range: Allows you to define:
    • Visible time range Time range to be displayed in the.
    • the working time range: Time range for which an appointment can be defined.
    WINDEV To define specific time slots, use SchedulerWorkingHour and SchedulerWorkingHourResource.
  • Appointment: Allows you to specify appointment characteristics:
    • WINDEVWEBDEV - Código ServidorPHP Overlapping: Managing overlapping appointments. The appointments can be displayed side by side or slightly shifted.
    • WEBDEV - Código ServidorAndroidiPhone/iPad Appointment granularity Schedule display accuracy. By default, the granularity is set to 30 minutes.
      You can define:
      • the granularity regarding the move of an appointment.
        Novedad versión 2025
        WEBDEV - Código Servidor This displacement granularity is represented by a thin line in the time range.
      • the granularity of the appointment duration, which means the minimum duration of an appointment. Warning default setting is 24 hours.
    • WINDEViPhone/iPad Visualización continua si es de varios días: Displays a multi-day appointment as a single appointment. If this option is unchecked, the appointments on several days will correspond to as many appointments as the number of days.
  • Other parameters:
    • WINDEV Permitir seleccionar períodos: Allows the user to select a period with the mouse.
    • Permitir introducir una cita directamente: Allows the user to directly add an appointment.
      WINDEVWEBDEV - Código ServidorPHP To do so, click the Scheduler control to create the appointment and enter its caption via the keyboard.
      AndroidiPhone/iPad All you have to do is click in the Scheduler control. A "+" button appears in the selected area. The event "Before creating the appointment" is run when clicking "+". You can open a window to type the appointment characteristics. For more details, see Scheduler control events.
    • WINDEVWEBDEV - Código ServidorPHP Permitir y mostrar citas de todo el día: Indicates that an appointment can correspond to an entire day.. In this case, a specific area is displayed in the Scheduler control. This area is used to enter the daily appointments.
      WINDEV You can specify the height of the area.
      Examples:
      • if the schedule is displayed with the resources in rows:
        • WINDEV In WINDEV:
        • WEBDEV - Código ServidorPHP In WEBDEV:
      • if the schedule is displayed with the resources in columns:
        • WINDEV In WINDEV:
        • WEBDEV - Código ServidorPHP In WEBDEV:
The edit options via the mouse are as follows:
  • WINDEVWEBDEV - Código ServidorPHP Modificar duración. You can allow or prevent users from changing the duration of appointments.
  • Mover. You can allow or prevent users from moving appointments.
  • WINDEVAndroidiPhone/iPad Permitir al usuario cambiar recursos. If this option is checked, users will be able to move appointments and associate them with different resources.
  • WINDEVAndroidiPhone/iPad Permitir al usuario superponer elementos. 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.
The zone size options are as follows:
  • WINDEVWEBDEV - Código ServidorPHP if the resources are displayed by rows:
    • WEBDEV - Código ServidorPHP Minimum width of an hour. The width of the day is calculated according to the number of hours displayed.
    • Minimum height of a resource.
    • Width of the resource header.
  • WINDEVWEBDEV - Código ServidorPHP if the resources are displayed by columns:
    • Minimum width of the resource.
    • WEBDEV - Código ServidorPHP Time minimum height. The height of the day is calculated according to the number of hours displayed.
    • Height of the break (for changing day)
  • AndroidiPhone/iPad the resources are always displayed by rows. You have the ability to configure the following elements:
    • Resource height.
    • Width of the resource header.
Most of these parameters can be modified programmatically. For more details, see Scheduler control properties.
WINDEV

Context menu proposed automatically

The Scheduler control can display a specific context menu with automatic features available to the user. This menu is proposed by the AAF (Automatic Application Features).
As soon as at least one resource is found in the schedule, this menu allows the user to:
  • Modify the schedule display mode: daily, weekly, monthly, or current day only.
  • Add, delete or modify an appointment when selecting a time slot.
  • Copy the content of an appointment.
  • Print the contents of the Scheduler control.
WEBDEV - Código Servidor

A deletable appointment

The Scheduler control allows the user to delete the selected appointment via the red cross displayed in the upper-right corner of appointment.
When the user clicks this cross:
  • the appointment is deleted from the Scheduler control.
  • if the Scheduler control is linked to a data file or to a variable, the appointment is deleted from the data file.
Note: If the field is linked to a variable or data file, it is possible not to allow deletion (option "Allow deletion (also deletes from data source)" in the "Contents" tab of the control description window)..

Modes for filling a Scheduler control

AndroidiPhone/iPad Scheduler controls can only be populated programmatically. For more details, see Scheduler control: programming using events and WLanguage functions.
Versión mínima requerida
  • Versión 16
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 29/10/2024

Señalar un error o enviar una sugerencia | Ayuda local