MonthCalendar.ShowHalfYearsButtonChanged

Syntax

ShowHalfYearsButtonChanged: function (sender, args)

Parameters

sender. Event source.

args. Event information.

Description

The ShowHalfYearsButtonChanged  event occurs on changing the value of the MonthCalendar.ShowHalfYearsButton 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 ShowHalfYearsButtonChanged event handler:

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

     {

        alert("HalfYears Button disappeared")

    })

Enter to the browser console:

MC.setShowHalfYearsButton(false)

Press Enter key.

The following message is displayed after executing the example: HalfYears Button disappeared. The Half years button is deleted.

See also:

MonthCalendar