PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Special cases
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
Reinitializes:
  • WINDEVWEBDEV - Server code the Appointment structure.
    Reminder: This function cannot be used to reinitialize the Appointment structure of an Outlook Express messaging.
  • Versions 18 and later
    AndroidAndroid Widget the Appointment variable used by a calendar of an Android device.
    New in version 18
    AndroidAndroid Widget the Appointment variable used by a calendar of an Android device.
    AndroidAndroid Widget the Appointment variable used by a calendar of an Android device.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Android Widget This function is now available in Android Widget mode.
Example
WINDEVWEBDEV - Server code
// Start a Lotus Notes session
SessionID is int
SessionID = EmailStartNotesSession("Password", "MarsServer", ...
"email/julia.nsf", "C:\Lotus Notes\julia.id")
// Initialize the variables of the Appointment structure
AppointmentReset()
// Fill the variables for the new appointment
mAppointment.Subject = "Sales meeting"
mAppointment.StartDate ="20070125100000"
mAppointment.Location = "Room 3B"
mAppointment.NbParticipant = 3
mAppointment.Participant[1] = "Robert"
mAppointment.Participant[2] = "Lucas"
mAppointment.Participant[3] = "Stephen"
// Add the appointment
IF AppointmentAdd(SessionID) = True THEN
Info("Appointment added")
ELSE
Error("Error during the addition", ErrorInfo())
END
Versions 18 and later
AndroidAndroid Widget
// Add a new appointment
AppointmentReset(gAPT)
gAPT..Title = EDT_Title
gAPT..StartDate = EDT_StartDate + EDT_StartTime
gAPT..EndDate = EDT_EndDate + EDT_EndTime
gAPT..Location = EDT_Location
gAPT..Content = EDT_Desc
IF EDT_TimeZone <> "" THEN
gAPT..TimeZone = EDT_TimeZone
END
gAPT..Author = EDT_Author
gAPT..Guest = EDT_Guests
gAPT..WholeDay = CBOX_WholeDay[1]

IF AppointmentAdd(gCal, gAPT) THEN
ToastDisplay("APT added")
ELSE
Error(ErrorInfo())
END
New in version 18
AndroidAndroid Widget
// Add a new appointment
AppointmentReset(gAPT)
gAPT..Title = EDT_Title
gAPT..StartDate = EDT_StartDate + EDT_StartTime
gAPT..EndDate = EDT_EndDate + EDT_EndTime
gAPT..Location = EDT_Location
gAPT..Content = EDT_Desc
IF EDT_TimeZone <> "" THEN
gAPT..TimeZone = EDT_TimeZone
END
gAPT..Author = EDT_Author
gAPT..Guest = EDT_Guests
gAPT..WholeDay = CBOX_WholeDay[1]

IF AppointmentAdd(gCal, gAPT) THEN
ToastDisplay("APT added")
ELSE
Error(ErrorInfo())
END
AndroidAndroid Widget
// Add a new appointment
AppointmentReset(gAPT)
gAPT..Title = EDT_Title
gAPT..StartDate = EDT_StartDate + EDT_StartTime
gAPT..EndDate = EDT_EndDate + EDT_EndTime
gAPT..Location = EDT_Location
gAPT..Content = EDT_Desc
IF EDT_TimeZone <> "" THEN
gAPT..TimeZone = EDT_TimeZone
END
gAPT..Author = EDT_Author
gAPT..Guest = EDT_Guests
gAPT..WholeDay = CBOX_WholeDay[1]

IF AppointmentAdd(gCal, gAPT) THEN
ToastDisplay("APT added")
ELSE
Error(ErrorInfo())
END
Syntax
WINDEVWEBDEV - Server code

Reinitializing the Appointment structure

AppointmentReset()
Versions 18 and later
AndroidAndroid Widget This syntax is available from version 180046.

Reinitializing an Appointment variable Hide the details

AppointmentReset(<Appointment>)
<Appointment>: Appointment variable
Name of Appointment variable to use.
New in version 18
AndroidAndroid Widget This syntax is available from version 180046.

Reinitializing an Appointment variable Hide the details

AppointmentReset(<Appointment>)
<Appointment>: Appointment variable
Name of Appointment variable to use.
AndroidAndroid Widget This syntax is available from version 180046.

Reinitializing an Appointment variable Hide the details

AppointmentReset(<Appointment>)
<Appointment>: Appointment variable
Name of Appointment variable to use.
Remarks
AndroidAndroid Widget
Versions 18 and later

Special cases

  • AppointmentReset can be used in the emulator but not in the simulator.
  • AppointmentReset is available for the devices running an Android version greater than or equal to version 4.0 (api level 14). A fatal error will occur if the function is used with an earlier system version.
    Reminder: To find out the version of Android system on which the application is run, use SysAndroidVersion.
New in version 18

Special cases

  • AppointmentReset can be used in the emulator but not in the simulator.
  • AppointmentReset is available for the devices running an Android version greater than or equal to version 4.0 (api level 14). A fatal error will occur if the function is used with an earlier system version.
    Reminder: To find out the version of Android system on which the application is run, use SysAndroidVersion.

Special cases

  • AppointmentReset can be used in the emulator but not in the simulator.
  • AppointmentReset is available for the devices running an Android version greater than or equal to version 4.0 (api level 14). A fatal error will occur if the function is used with an earlier system version.
    Reminder: To find out the version of Android system on which the application is run, use SysAndroidVersion.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
Android wd230android.jar
Minimum required version
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment