wEndDate Property (MonthCalendar Controls)

Applies to TestComplete 15.63, last modified on April 23, 2024

Description

Use this property to specify the latest date in the range of selected dates in the month calendar control. This property is only used if the month calendar control supports multi-selection. Otherwise, it always returns the “zero” date (December, 30, 1899).

Declaration

TestObj.wEndDate

Read-Write Property Date/Time
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

The property is applied to the following object:

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

The latest date in the range selected in the month calendar control.

Remarks

If you set a value to wEndDate and this value is less than wMinDate or greater than wMaxDate, wEndDate will not be changed.

If you set wEndDate to a value less than wDate, the latter will be assigned that value as well. To avoid confusion when selecting a range of dates in a multi-selection month calendar control, use the SetSelection method.

Example

To view an example that demonstrates how to use the wEndDate property, see Setting MonthCalendar Date in Desktop Windows Applications.

See Also

Setting MonthCalendar Date in Desktop Windows Applications
Getting MonthCalendar Date in Desktop Windows Applications
wDate Property (Calendar Controls)
wMaxDate Property (Calendar Controls)
wMinDate Property (Calendar Controls)
wMultiSelect Property (MonthCalendar Controls)
SetSelection Action (MonthCalendar Controls)

Highlight search results