Applies to TestComplete 14.40, last modified on May 21, 2020

Defines whether a month list contains month names and year values or month names only.

Declaration

componentPropObj.YearsInMonthList
Read-Write Property Boolean
componentPropObj     One of the objects listed in the Applies To section  

Applies To

The property applies to the following objects:

TcxDateEditProperties

Description

Use this property to define the appearance of the month list. A month list is a list of months that are shown when the user clicks the Month field and holds the mouse button down. A month value can be selected from this list.

When the YearsInMonthList property is False, the year value is not shown in the month list and the list consists of twelve month names. When the YearsInMonthList property is True, the year value is shown and the list consists of seven month names: the name of a currently selected month, names of three previous months and names of the three next months.

To scroll the month names without opening the month list, scroll the mouse wheel when the cursor is over the Month field.

Property Value

True, if the year value is displayed in the month list, False otherwise.

Remarks

If the ArrowsForYear property is disabled, the year value is always displayed in the month list.

See Also

ArrowsForYear Property

Highlight search results