|
|
|
|
|
- Range selection
- Changing a time period in a Calendar, Organizer or Scheduler control
- Special cases
StartDate (Property) In french: DateDébut
// Retrieve the selected period (Calendar control) NbDays is int NbDays = DateDifference(CAL_Calendar1.StartDate, CAL_Calendar1.EndDate) + 1 Info("Selected time period: from " + ... DateToString(CAL_Calendar1.StartDate) + ... " to " + DateToString(CAL_Calendar1.EndDate) + ... " which means " + NbDays + " days") Syntax
Determining the start date of the time period Hide the details
<Start date> = <Control used>.StartDate
Changing the start date of the time period Hide the details
<Control used>.StartDate = <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 is changed: - the end date is automatically deselected.
- the end date has to be selected (programmatically or by clicking a control date).
To change the end date of a selected time period, simply use the EndDate property: the time period changes automatically.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|