PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Equivalences
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
Returns the display mode of an Organizer control: day, week, month, ...
Note: <Organizer>.ChangeMode is used to modify the display mode of Organizer control.
Versions 18 and later
PHP This function is now available for PHP sites.
WEBDEV - Server code This function is now available in WEBDEV Server (Windows and Linux).
New in version 18
PHP This function is now available for PHP sites.
WEBDEV - Server code This function is now available in WEBDEV Server (Windows and Linux).
PHP This function is now available for PHP sites.
WEBDEV - Server code This function is now available in WEBDEV Server (Windows and Linux).
Example
// Toggles between daily display and monthly display
IF ORG_MyOrganizer.Mode() = orgzDay THEN
ORG_MyOrganizer.ChangeMode(orgzMonth)
ELSE
ORG_MyOrganizer.ChangeMode(orgzDay)
END
Syntax
<Result> = <Organizer control>.Mode()
<Result>: Integer constant
Time range displayed by the Organizer control:
orgzDayThe Organizer control displays one day.
Versions 24 and later
orgzCustomNbDay
New in version 24
orgzCustomNbDay
orgzCustomNbDay
Displays the Organizer control over a number of days specified by <Organizer>.ChangeMode.
WEBDEV - Server codePHP This constant is not available.
WEBDEV - Server codePHP This constant is not available.
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).
orgzMonthThe Organizer control displays a full month.
<Organizer control>: Control name
Name of Organizer control to use. This control can correspond to:
  • an Organizer control in a report.
  • Versions 18 and later
    WEBDEV - Server codePHP an Organizer control in a page.
    New in version 18
    WEBDEV - Server codePHP an Organizer control in a page.
    WEBDEV - Server codePHP an Organizer control in a page.
Remarks

Equivalences

The following code lines are equivalent:
ORG_Organizer.ChangeMode(orgzWeek, 5)
and
ORG_Organizer.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 : wd240mdl.dll
Minimum required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment