MonthCalendar.ShowQuartersButtonChanged

Syntax

ShowQuartersButtonChanged: function (sender, args)

Parameters

sender. Event source.

args. Event information.

Description

The ShowQuartersButtonChanged event occurs on changing the value of the MonthCalendar.ShowQuartersButton property.

Example

To execute the example, create the MonthCalendar component (see href="../../components/monthcalendar/example_monthcalendar.htm">Example of Creating the MonthCalendar Component). Add the ShowQuartersButtonChanged event handler:

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

{

    MC.setMode(4)

})

Enter to the browser console:

MC.setShowQuartersButton(false)

Press Enter key.

The Quarters button is deleted from the calendar after executing the example. Calendar is displayed in the calendar mode.

See also:

MonthCalendar