ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Organizer functions
  • Equivalences
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the display mode of an Organizer control: day, week, month, ...
Note: Use <Organizer>.ChangeMode to change the display mode of the Organizer control..
Example
// Alterne entre l'affichage par jour et par mois
IF AGD_MonAgenda.Mode() = orgzDay THEN
	AGD_MonAgenda.ChangeMode(orgzMonth)
ELSE
	AGD_MonAgenda.ChangeMode(orgzDay)
END
Syntax
<Result> = <Organizer control>.Mode()
<Result>: Integer constant
Time range displayed by the Organizer control:
orgzCustomNbDayDisplays the Organizer control over a number of days specified by <Organizer>.ChangeMode.
WEBDEV - Server codePHP This constant is not available.
orgzDayThe Organizer control displays one day.
orgzMonthThe Organizer control displays a full month.
orgzWeekThe Organizer control displays a full week (or a partial week if a number of days was specified with <Organizer>.ChangeMode).
orgzWeekOn5The Organizer control displays a 5-day week (without weekend).
<Organizer control>: Control name
Name of the Organizer control to be used. This field may 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.
Remarks

Equivalences

The following lines of code are equivalent:
AGD_Agenda.ChangeMode(orgzWeek, 5)
and
AGD_Agenda.ChangeMode(orgzWeekOn5)

In both cases, <Organizer>.Mode returns the orgzWeekOn5 constant.
Related Examples:
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
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.
Component: wd300mdl.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help