PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of Calendar variables
  • Functions that use the Calendar variables
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
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: See Declaring a variable for more details.
Versions 21 and later
iPhone/iPad This type of variable is now available for the iPhone/iPad applications.
New in version 21
iPhone/iPad This type of variable is now available for the iPhone/iPad applications.
iPhone/iPad This type of variable is now available for the iPhone/iPad applications.
Example
// Fills a list with the calendars available on the device
arrCalendar is array of Calendar = AppointmentListCalendar()
FOR EACH Calendar OF arrCalendar
ListAdd(LIST_List1, Calendar..Name)
END
Remarks

Properties specific to the description of Calendar variables

The following properties can be used to handle a Calendar:
Property nameType usedEffect
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.
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 corresponds to an empty string (""), the calendar is associated with no account: it is stored 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 corresponds to an empty string (""), the calendar is associated with no account and it is stored locally on the device.

Caution: The properties of Calendar type are read-only and they are automatically filled when the calendars are read by AppointmentListCalendar.
Note: These properties can be used with one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>

Functions that use the Calendar variables

Versions 11 and later
AppointmentAdd
New in version 11
AppointmentAdd
AppointmentAdd
Adds an appointment:
  • into the calendar of a Lotus Notes or Outlook messaging.
  • into the calendar found on a mobile device (Android or iOS).
Versions 18 and later
AppointmentList
New in version 18
AppointmentList
AppointmentList
Lists the appointments found on the mobile device (Android/iOS) and corresponding to the specified criteria.
Versions 18 and later
AppointmentListCalendar
New in version 18
AppointmentListCalendar
AppointmentListCalendar
Lists the calendars available on the mobile device (Android/iOS).
Minimum required version
  • Version 18
Comments
Video Calendario
https://youtu.be/8ZnyFfpjKb4

EDT_DATA=CalendarSelect(CAL_CALENDARIO)
amarildo
Jul. 04 2018