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 Agenda
  • Overview
  • How to?
  • Create an Organizer control linked to a data file
  • Creating an Organizer control based on a variable
  • Handling an Organizer control linked to a data file or variable
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
Organizer control linked to a data file or to a variable
Overview
It is possible to create Organizer control fields directly linked to data.. You can create:
  • a Organizer control linked to a data 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..
How to?

Create an Organizer control linked to a data file

To create an Organizer control linked to 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:
  1. Open the control description window (select "Description" in the context menu).
  2. 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.
  3. 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.
  4. Validate the description window of the Organizer control.

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:
  1. Open the control description window (select "Description" in the context menu).
  2. In the "Content" tab, select the "By variable" option and select the data source used (class, etc.)..
  3. 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.
  4. Validate the description window of the Organizer control.
Handling an Organizer control linked to a data file or variable
An Organizer control linked to a data source (data file or variable) is very easy to handle:
  • WINDEV If the user directly manipulates the Organizer control via the context menu, additions, deletions and modifications to appointments are automatically transferred to the data source linked to the control.
  • WINDEV If the user manipulates appointments via a specific window, simply modify the data file (or variable) linked to the Organizer control. The displayed data will be automatically updated. It is also possible to use OrganizerDisplay to update the data displayed in the control.
  • WEBDEV - Código ServidorPHP If the Organizer control allows direct appointment entry, appointments added in the Organizer control are automatically added to the data source linked to the Organizer control.
  • 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.
  • WINDEV The deletion performed in the control is performed at the same time in the linked data source.
  • WEBDEV - Código ServidorPHP By default, the deletion is not allowed in the Organizer control linked to a data source. To allow the deletion of appointments:
    • Display the description of the Organizer control ("Description" option in the context menu).
    • On the "Content" tab, check the option "Permitir la eliminación (también elimina en la fuente de datos)".
    • Validate.
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: 25/02/2025

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