|
|
|
|
|
- Range selection
- Changing a time period in a Calendar, Organizer or Scheduler control
- Special cases
EndDate (Property) In french: DateFin
The EndDate property gets and sets the selected time period end date: - in a Calendar control,
- in an Organizer control.
- in a Scheduler control.
NbDays is int
NbDays = DateDifference(CAL_Calendar1.StartDate, ...
CAL_Calendar1.EndDate) + 1
Info("Selected period: from " + ...
DateToString(CAL_Calendar1.StartDate) + ...
" to " + DateToString(CAL_Calendar1.EndDate) + ...
" which means " + NbDays + " days")
Syntax
Getting the end of the date range Hide the details
<End date> = <Control used>.EndDate
Changing the end of the date range Hide the details
<Control used>.EndDate = <New date>
Remarks Changing a time period in a Calendar, Organizer or Scheduler control To change the start date of a selected time period, specify the start date ( StartDate property) and the end date ( EndDate property). When the start date changes: - the end date is automatically deselected.
- the end date has to be selected (programmatically or by clicking a control date).
To modify the end date of a selected period, simply use the EndDate property: the period is automatically modified.. Special cases - The start date of a time period can be identified and changed with the StartDate property.
- The StartDate property returns the start date of the time period in chronological order. Therefore, if the end date is selected before the start date, the StartDate property returns the last selected date.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|