PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • How to proceed?
  • Creating a browsing Organizer control
  • Creating an Organizer control on source
  • Handling a browsing Organizer control or an Organizer control on source
  • Browsing Organizer control
  • Organizer control on source
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
Organizer control linked to a data file or to a variable
Overview
From version 16, you have the ability to create Organizer controls directly linked to data. You can create: You have the ability to create Organizer controls linked to data. You can create:
  • a browsing Organizer control: the Organizer control will be linked to a data file or to a query. In this case, the data file contains the characteristics of appointments.
  • an Organizer control on source: the Organizer control will be linked to a variable (a class instance in most cases). In this case, the class lists the appointments with their characteristics.
The programming of the Organizer controls is simplified: there is no need to use the Organizerxxx functions directly.
Versions 18 and later
WEBDEV - Server code The Organizer controls are now available for the WEBDEV sites (in Windows and Linux).
WEBDEV - Server codePHP The Organizer controls are now available for the PHP sites.
New in version 18
WEBDEV - Server code The Organizer controls are now available for the WEBDEV sites (in Windows and Linux).
WEBDEV - Server codePHP The Organizer controls are now available for the PHP sites.
WEBDEV - Server code The Organizer controls are now available for the WEBDEV sites (in Windows and Linux).
WEBDEV - Server codePHP The Organizer controls are now available for the PHP sites.
How to proceed?

Creating a browsing Organizer control

To create a browsing Organizer control, you can:
  • use the wizard for creating the Organizer control. To do so, select "Display the data found in an existing file or query". Answer the questions asked by the wizard and validate.
  • modify the description of the Organizer control.
To modify the characteristics of an existing Organizer control:
  1. Display the description window of control ("Description" from the popup menu).
  2. In the "Content" tab, select "File" and select the data source used. This data source can be:
    • a data file defined in the analysis,
    • a query of the project,
    • a query included in the window or in the page.
  3. Associate the different items of the data source with 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, you have the ability to perform a multi-file link.
  4. Validate the description window of the Organizer control. The Organizer control is a browsing Organizer control.

Creating an Organizer control on source

To create an Organizer control on source, you can:
  • use the wizard for creating the Organizer control. To do so, select "Display the data found in an existing variable". Answer the questions asked by the wizard and validate.
  • modify the description of the Organizer control.
To modify the characteristics of an existing Organizer control:
  1. Display the description window of control ("Description" from the popup menu).
  2. In the "Content" tab, select "Variable" and select the data source used (class, ...).
  3. Associate the different elements (members of the class for example) of the data source with the characteristics of the appointment. The elements preceded by a star are mandatory.
  4. Validate the description window of the Organizer control. The Organizer control is an Organizer control on source.
Handling a browsing Organizer control or an Organizer control on source

Browsing Organizer control

A browsing Organizer control can be easily handled:
  • WINDEV If the user is using the Organizer control via the popup menu of the control, the additions, deletions and modifications made to the appointments will be automatically applied to the data source linked to the control.
  • WINDEV If the user handles the appointments via a specific window, all you have to do is modify the data file linked to the Organizer control. The displayed data will be automatically refreshed. You also have the ability to use OrganizerDisplay to refresh the data displayed in the control.
  • Versions 18 and later
    WEBDEV - Server codePHP If the Organizer control allows the direct input of appointments, the appointments added into the Organizer control will be automatically added into the data file linked to the control.
    New in version 18
    WEBDEV - Server codePHP If the Organizer control allows the direct input of appointments, the appointments added into the Organizer control will be automatically added into the data file linked to the control.
    WEBDEV - Server codePHP If the Organizer control allows the direct input of appointments, the appointments added into the Organizer control will be automatically added into the data file linked to the 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 file linked to the control.
  • WINDEV The deletion performed in the control is performed at the same time in the linked data source.
  • Versions 18 and later
    WEBDEV - Server codePHP 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" from the popup menu).
    • In the "Content" tab, check "Allow the deletion (deletes in the data source as well)".
    • Validate.
    New in version 18
    WEBDEV - Server codePHP 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" from the popup menu).
    • In the "Content" tab, check "Allow the deletion (deletes in the data source as well)".
    • Validate.
    WEBDEV - Server codePHP 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" from the popup menu).
    • In the "Content" tab, check "Allow the deletion (deletes in the data source as well)".
    • Validate.

Organizer control on source

An Organizer control on source can be easily handled:
  • WINDEV If the user is using the Organizer control via the popup menu of the control, the additions, deletions and modifications made to the appointments will be automatically applied to the data source linked to the control.
  • WINDEV If the user handles the appointments via a specific window, all you have to do is modify the elements linked to the Organizer control (class members for example). The displayed data will be automatically refreshed. You also have the ability to use OrganizerDisplay to refresh the data displayed in the control.
  • Versions 18 and later
    WEBDEV - Server codePHP If the Organizer control allows the direct input of appointments, the appointments added into the Organizer control will be automatically added into the data source linked to the control.
    New in version 18
    WEBDEV - Server codePHP If the Organizer control allows the direct input of appointments, the appointments added into the Organizer control will be automatically added into the data source linked to the control.
    WEBDEV - Server codePHP If the Organizer control allows the direct input of appointments, the appointments added into the Organizer control will be automatically added into the data source linked to the 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.
  • Versions 18 and later
    WEBDEV - Server codePHP 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" from the popup menu).
    • In the "Content" tab, check "Allow the deletion (deletes in the data source as well)".
    • Validate.
    New in version 18
    WEBDEV - Server codePHP 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" from the popup menu).
    • In the "Content" tab, check "Allow the deletion (deletes in the data source as well)".
    • Validate.
    WEBDEV - Server codePHP 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" from the popup menu).
    • In the "Content" tab, check "Allow the deletion (deletes in the data source as well)".
    • Validate.
Related Examples:
WW_Organizer Training (WEBDEV): WW_Organizer
[ + ] The WW_Agenda example is an example for using the Organizer control of WEBDEV.
Minimum required version
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment