PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
Lists the appointments described in a character string in iCalendar format.
Versions 22 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 22
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
WINDEV
// Loads the appointments described in an iCalendar file in a Scheduler control
// sString is an ANSI string
sString is string = fLoadText("calendar.ics")
arrAPT is array of Appointment = iCalendarToAppointment(sString)
IF NOT ErrorOccurred THEN
FOR EACH ELEMENT apt OF arrAPT
SchedulerAddAppointment(SCH_MySchedule, apt)
END
END
Syntax
<Result> = iCalendarToAppointment(<iCalendar>)
<Result>: Array of Appointment
Array of Appointment variables containing the list of appointments described in the character string.
<iCalendar>: ANSI character string in UTF-8 or Buffer format
Data in iCalendar format.
Remarks
To build a character string in iCalendar format from a list of appointments, use AppointmentToiCalendar.
Component : wd250mdl.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment