wMaxDate Property (Calendar Controls)

Applies to TestComplete 14.20, last modified on September 11, 2019

Description

The wMaxDate property returns the maximum date that can be specified in the control.

Declaration

TestObj.wMaxDate

Read-Only 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 objects:

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 maximum date that can be selected in the control.

Remarks

The property works differently for different objects:

  • Qt CalendarWidget, Win32 MonthCalendar

    If you assign more than wMaxDate date to the wDate property, no changes will be applied and the previously selected date will stay selected.

  • Infragistics UtraWinScheduleControl, WPF Toolkit Calendar

    If you assign more then wMaxDate date to the wDate property, the wMaxDate property is set equal to wDate.

Example

To view an example that demonstrates how to use the wMaxDate property, see Getting Minimum and Maximum Allowed MonthCalendar Dates.

See Also

wDate Property (Calendar Controls)
wMinDate Property (Calendar Controls)

Highlight search results