ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Appointment functions (Lotus Notes/Android/iOS)
  • Properties specific to Calendar variables
  • Functions that use Calendar variables
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The Calendar type is used to handle a calendar (or organizer) associated with a user account or found on the device. You have the ability to list the appointments of the calendar via AppointmentListCalendar.
The characteristics of this calendar can be read by several WLanguage properties.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Remplit une liste avec les calendriers disponibles sur l'appareil
tabCalendrier is array of Calendar = AppointmentListCalendar()
FOR EACH Calendrier OF tabCalendrier
	ListAdd(LISTE_Liste1, Calendrier.Nom)
END
Properties

Properties specific to Calendar variables

The following properties can be used to handle a Calendar:
Property nameType usedEffect
AccountNameCharacter stringName of the user account with which the calendar is associated.
Android This property can correspond to an email address for a Google account ("lastname.firstname@gmail.com" for example).
iPhone/iPad This property can correspond to "Gmail" for a Google account.
If this property is an empty string (""), the calendar is not associated with any account: it is stored only locally on the device.
AccountTypeCharacter stringType of account.
Android This property can correspond to "com.google" for a Google account.
iPhone/iPad This property can correspond to "CalDAV", name of the protocol used to access the online calendars (Calendaring Extensions to WebDAV).
If this property is set to an empty string (""), the calendar is associated with no account and it is stored locally on the device.
ColorIntegerColor associated with the calendar. This color is the result of the following formula:
Color = 65536 * Blue Component + 256 * Green Component + Red Component.
ID8-byte integerIdentifier associated with the calendar. This property will be automatically filled when reading the calendar. We do not advise you to store this identifier beyond the lifetime of the application because this identifier can be modified when synchronizing the calendar.
NameCharacter stringName of the calendar.

Warning: Properties of type Calendar properties are all read-only, and are automatically filled in when reading calendars with the AppointmentListCalendar function.
Remarks

Functions that use Calendar variables

AppointmentAddAdds an appointment:
  • in a Lotus Notes or Outlook calendar.
  • in a calendar on a mobile device (Android or iOS).
AppointmentListLists the appointments found on the mobile device (Android/iOS) and corresponding to the specified criteria.
AppointmentListCalendarLists the calendars available on the mobile device (Android/iOS).
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help