|
|
|
|
|
- Properties specific to Repetition variables
Repetition (Variable type) In french: Repetition
The Repetition type is used to describe and modify the characteristics of a repetition for an appointment via the different WLanguage properties. Then, the appointment will be displayed in an Organizer control or in a Scheduler control. Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
MonRendezVous is Appointment
MonRendezVous.StartDate = DateSys() + "090000"
MonRendezVous.EndDate = DateSys() + "093000"
MonRendezVous.Title = "Réunion de l'équipe de développement"
MonRendezVous.Guest = "Jacques, Marc, Emilie"
MonRendezVous.Content = "Point quotidien sur l'avancement des projets."
MonRendezVous.WithRepetition = True
ParamètreRépétition is Repetition
ParamètreRépétition.Type = schEveryDay
ParamètreRépétition.TypeEnd = schNoEnd
MonRendezVous.Repetition = ParamètreRépétition
OrganizerAddAppointment(AGD_Agenda1, MonRendezVous)
Properties Properties specific to Repetition variables The following properties can be used to define the characteristics of Repetition variables: | | | Property name | Type used | Effect |
---|
DayOfMonth | Character string | Number of the day for which the appointment is scheduled ("31" for example). This number is included between 0 and 31. This property can also correspond to:- a list of numbers separated by commas in order to specify several months.
- an interval. For example, "9-13" (the appointment is repeated from the 9th to the 13th of the month).
- a star ("*") to specify the entire range.
- an interval with a step. For example, "*/2" to repeat the appointment every even day of the month.
| DayOfMonthOrDayOfWeek | Boolean | - True repeat the appointment every Monday AND the first day of the month (cumulated conditions).
- False to repeat the appointment on Monday 1st (exclusive conditions).
| DayOfWeek | Character string | Number of the day for which the appointment is scheduled ("2" for example). This number is included between 1 and 7 (1 = Monday, 2 = Tuesday, ...). This property can also correspond to:- a list of numbers separated by commas in order to specify several days.
- an interval. For example, "1-3" (the appointment is repeated on Monday, Tuesday and Wednesday).
- a star ("*") to specify the entire range.
- an interval with a step. For example, "*/2" to repeat the appointment every even day of the week.
- the day of the week in letters ("Monday", "Tuesday", "Wednesday", "Thursday", "Friday").
| EndDate | Character string | End date of the repetition. This property is used if the TypeEnd property is equal to the schEndDate constant. | Hour | Character string | Time of the repetition in UTC format (universal time). The possible values are:- a digit included between 0 and 23.
- a list of numbers separated by commas in order to specify several hours.
- an interval. For example, "9-13".
- a star ("*") to specify the entire range.
- an interval with a step. for example, "*/2" to repeat the appointment every even hour.
| Minute | Character string | Minutes of the time for the appointment repetition. The possible values are:- a digit included between 0 and 59.
- a list of numbers separated by commas in order to specify several minutes.
- an interval. For example, "9-13".
- a star ("*") to specify the entire range.
- an interval with a step. For example, "*/2" to repeat the appointment every even minute.
| Month | Character string | Number of the month for the appointment repetition. The possible values are:- a digit included between 1 and 12.
- a list of numbers separated by commas in order to specify several months.
- an interval. For example, "9-11".
- a star ("*") to specify the entire range.
- an interval with a step. For example, "*/2" to repeat the appointment every even month.
| NbOccurrence | Integer | Maximum number of repetitions. This property is taken into account when the TypeEnd property is equal to the schMaxOccurrence constant. | Type | Integer constant | Type of repetition. This property corresponds to one of the following constants:- plnAllDays RepeatString: the appointment will be repeated every day at the same time.
- plnEveryWeek: the appointment will be repeated every week, on the same day at the same time.
- plnEveryMonth RepeatString: the appointment will be repeated every month, on the same day at the same time.
- plnAllYears: the appointment will be repeated every year, on the same day at the same time.
| TypeEnd | Integer constant | Condition for stopping the repetition. This property corresponds to one of the following constants:- plnDateFin: the appointment will stop being repeated from the date indicated in the property DateFin property.
- plnOccurrenceMax: the appointment will stop being repeated after the number of repetitions specified in property NbOccurrence.
This constant is not available. - plnNoEnd the appointment will be repeated ad infinitum.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|