PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • 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 characteristics of this Reminder can be defined and modified using different WLanguage properties.
Remark: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
Versions 21 and later
iPhone/iPad This type of variable is now available for iPhone/iPad applications.
New in version 21
iPhone/iPad This type of variable is now available for iPhone/iPad applications.
iPhone/iPad This type of variable is now available for iPhone/iPad applications.
Example
// Ajoute un nouveau rappel par notification une heure avant le début du rendez-vous
rappelRDV is Reminder
rappelRDV.Type = reminderNotification
rappelRDV.Delay = 60
Add(rdv.Rappel, rappelRDV)
AppointmentModify(rdv)
 
// Ajoute un nouveau rappel par email une semaine avant le début du rendez-vous
rappelRDV is Reminder
rappelRDV.Type = reminderEmail
rappelRDV.Delay = 7 * 24 * 60
Add(rdv.Rappel, rappelRDV)
AppointmentModify(rdv)
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,
  • Versions 23 and later
    direct indication of the time (e.g. 1 min).
    New in version 23
    direct indication of the time (e.g. 1 min).
    direct indication of the time (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: sending 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

To reset the contents of an Variable of type Reminder, you can use the VariableReset function.
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment