SelectHalfYear: function (sender, args)
sender. Event source.
args. Event information.
The SelectHalfYear event occurs on selecting the half year in the calendar.
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: