MonthCalendar.SelectQuarter

Syntax

SelectQuarter: function (sender, args)

Parameters

sender. Event source.

args. Event information.

Description

The SelectQuarter event occurs on selecting the quarter 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 value 3. Add the SelectQuarter event handler:

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

{

      DTE.setCurrentDate(MC.getCurrentDate())

})

After executing the example on double click on the button with the quarter name the date editor value is changed.

See also:

MonthCalendar