PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 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
// 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
TimeOutInteger ou DurationTime-out 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
    the direct indication of duration (1 min for example).
    New in version 23
    the direct indication of duration (1 min for example).
    the direct indication of duration (1 min for example).
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: These properties can be used with one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>

Note

To reinitialize the content of a Reminder variable, you have the ability to use VariableReset.
Minimum required version
  • Version 18
Comments
Click [Add] to post a comment