MonthCalendar.SelectHalfYear

Syntax

SelectHalfYear: function (sender, args)

Parameters

sender. Event source.

args. Event information.

Description

The SelectHalfYear event occurs on selecting the half year in the calendar.

Example

To execute the example, place the MonthCalendar and DateTimeEdit components in HTML page (see MonthCalendar.SelectDay event). Set the DateTimeEdit.Mode property to 4. Add the SelectHalfYear event handler:

MC.SelectHalfYear.add(function (sender, args)

    {

        DTE.setCurrentDate(MC.getCurrentDate())

    })

After executing the example on double click on the button named half year in the calendar quarter mode the date editor value is set.

See also:

MonthCalendar