ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Scheduler control
  • Overview
  • Customizing the aspect of appointments
  • Full customization of appointments
  • Customization using internal windows
  • Customization using internal pages
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Scheduler control: Customize appointments
Overview
In the Scheduler 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, ...
Customizing the aspect of appointments
To change the aspect of the appointments used by default, you can change the style options defined for this element.
  1. Open the Scheduler control description window.
  2. In the "Style" tab, expand "Element" and select "Appointment".
WINDEV For example, for "Appointment", you can:
  • use a shadow,
  • use a separator in dots between hours,
  • define the title and background options:
    • solid background,
    • gradient background,
    • 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 display the entire title)).
  • define the fonts used, ...
WEBDEV - Server code In the "Style" tab, you can customize:
  • the borders, title and details of the appointment.
  • the borders, title and details of the selected appointment.
Full customization of appointments
WINDEVAndroidiPhone/iPad

Customization using internal windows

To fully customize appointments (required for translation):
  1. Open the Scheduler control description window.
  2. In the "General" tab, select the internal window used for the appointments:
    • "None": the default display mode will be used.
    • "Preset window": If this option is selected, the WDAAF internal component is immediately added to the current project.
      • WINDEV The "IW_WinDevViewAPT" internal window is automatically associated with the "Internal window for the appointments" option.
      • AndroidiPhone/iPad The "IW_WinDevMobileViewAPT" internal window is automatically associated with the "Internal window for the appointments" option.
      Remarks:
      • If the WDAAF component already exists, only the window is added to the component.
      • This window is also used to customize appointments in Organizer controls.
    • Any internal window in your project.
  3. If necessary, validate the control description window.
Remarks:
  • The custom internal window is available in the "Project explorer" pane, in the "Internal components" folder. It can be edited in the window editor.
    Caution: this internal window can only be used to customize the display of appointments. Only the "Global declarations" event is executed. No other events are executed. Therefore, you cannot add buttons with a specific click code.
  • If you are using the suggested preset window, the style options of the appointment (selected in the "Style" tag) are applied.
WEBDEV - Server code

Customization using internal pages

To fully customize appointments (required for translation):
  1. Open the Scheduler control description window.
  2. In the "General" tab, select the internal page used for appointments:
    • "None": the default display mode will be used.
    • "New internal page": If this option is selected, a new internal page is automatically created and associated with the control.
    • Any internal page in the project.
  3. If necessary, validate the control description window.
Remarks:
  • To be displayed, the appointment must be passed to the internal page as a parameter. The declaration of global variables of the internal page must have the following format:
    PROCEDURE MyPage(My_Appointment is Appointment)
  • You can create controls in the internal page to display the various elements of the appointment. These controls display the contents of the variable of type Appointment.
  • Caution: this internal page only allows you to customize the aspect of appointments. Only the "Global declarations" event is executed. No other events are executed. Therefore, you cannot add buttons with a specific click code.
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/12/2023

Send a report | Local help