ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Appointment functions (Lotus Notes/Android/iOS)
  • Properties specific to the description of Reminder variables
  • Note
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The Reminder type is used to describe and handle a reminder to inform the user of an appointment.
This type of variable is used by the Appointment variables.
The reminder characteristics can be defined and changed using different WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Adds a new reminder by notification an hour before the beginning of the appointment
reminderAPT is Reminder
reminderAPT.Type = reminderNotification
reminderAPT.Delay = 60
Add(apt.Reminder, reminderAPT)
AppointmentModify(apt)
 
// Adds a new reminder by email one week before the beginning of the appointment
reminderAPT is Reminder
reminderAPT.Type = reminderEmail
reminderAPT.Delay = 7 * 24 * 60
Add(apt.Reminder, reminderAPT)
AppointmentModify(apt)
Remarks

Properties specific to the description of Reminder variables

The following properties can be used to handle a reminder:
Property nameType usedEffect
DelayInteger ou DurationTimeout in minutes before the beginning of the appointment for which the reminder must be performed. This property can correspond to:
  • an integer corresponding to the number of minutes,
  • a Duration variable,
  • the duration in a readable format (e.g., 1 min).
TypeInteger constantMethod that will be used to perform the reminder:
  • reminderDefault: default method. This method depends on the setting of the device.
  • reminderEmail: send an email. This type of reminder is available only if the account associated with the appointment calendar supports this type of reminder and if this account is configured.
  • reminderNotification: send a notification.
  • reminderSMS: send an SMS. This type of reminder is available only if the account associated with the appointment calendar supports this type of reminder and if this account is configured.
iPhone/iPad Only the reminderDefault constant is available.

Note

You can use VariableReset to reset the content of the Reminder variable.
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment

Last update: 05/31/2022

Send a report | Local help