Help / WLanguage / WLanguage functions / Controls, pages and windows / Organizer functions
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Modifies the time range displayed by an Organizer control (Day/Week/Month).
Universal Windows 10 App In Universal Windows 10 App mode, this function can only be used to handle Organizer controls in a report.
// Displays the first four days of the week
OrganizerChangeMode(ORG_MyOrganizer, orgzWeek, 4)
OrganizerChangeMode(<Organizer control> , <Display range> [, <Number of days>])
<Organizer control>: Control name
Name of the Organizer control to be used. This control can correspond to:
  • WINDEVAndroidiPhone/iPadMac Catalyst an Organizer control in a window.
  • an Organizer control in a report.
  • WEBDEV - Server codePHP an Organizer control in a page.
<Display range>: Integer constant
Time range that must be displayed in the Organizer control:
orgzCustomNbDayDisplays the organizer on the number of days specify in <Number of days>.
WEBDEV - Server codePHP This constant is not available.
orgzDayDisplay the organizer on one day.
orgzMonthDisplay the organizer on one month.
orgzWeekDisplays the organizer on the number of days specify in <Number of days>.
orgzWeekOn5Display the organizer on 5 days (the weekend is not displayed).
<Number of days>: Optional integer
Number of days displayed. If the parameter <Display range> is equal to :
  • orgzWeek: Number of days displayed in the week. If this parameter is not specified, the organizer will be displayed on a full week.
  • orgzCustomNbDay: Number of days displayed in the Organizer control.
In other cases, a WLanguage error is displayed.
OrganizerChangeMode replaces OrganizerChangeZoom (kept for backward compatibility).
Related Examples:
WD Organizer Complete examples (WINDEV): WD Organizer
[ + ] This example is used to synchronize some appointments between your Outlook, Lotus Notes and Google calendars.

Based on the Organizer control, you have the ability to create, modify, move or delete the appointments.
you also have the ability to classify the appointments by category and to link them to several external organizers.
WD Handling the Organizer control Training (WINDEV): WD Handling the Organizer control
[ + ] WD Handling the Organizer control is a simple example for using the Organizer control.

The following features are used:
- Creating an appointment
- Saving an organizer
- Restoring an organizer
Component: wd300mdl.dll
Minimum version required
  • Version 16
This page is also available for…
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help