wMaxDateRange Property (MonthCalendar Controls)

Applies to TestComplete 15.70, last modified on December 17, 2024
This property is not supported in web tests (including cross-platform web tests) that use XPath expressions and CSS selectors to locate web elements. This property can be only used in tests that locate web objects by using internal identification properties provided by TestComplete.

Description

The calendar control can be used to specify an interval of dates rather than a single date. The wMaxDateRange property indicates the maximum number of days that can be selected.

Declaration

TestObj.wMaxDateRange

Read-Only Property Integer
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 number of days that can be selected simultaneously if multiple selecton is allowed.

Example

To view an example that demonstrates how to use the wMaxDateRange property, see Getting Maximum Date Range in MonthCalendar Controls in Desktop Windows Applications.

See Also

Getting Maximum Date Range in MonthCalendar Controls in Desktop Windows Applications
wDate Property (Calendar Controls)
wMaxDate Property (Calendar Controls)
wMinDate Property (Calendar Controls)

Highlight search results