Contents Topics Index  <<  >>

OnChangeMonth event


Unit

WallCalendar

Applies to

TWallCalendar

Declaration

Property OnChangeMonth : TChangeMonthEvent    ;

Description

The OnChangeMonth event will be fired after the CalendarMonth property changes. This can happen in one of two ways: the user can change the month ComboBox, or you can set the CalendarMonth property to a new value. The only time this event will not be fired when the month changes is if the Increase or Decrease calendar buttons in the calendar header are clicked. In that case, this event is skipped in favor of the OnIncreaseCalendar or OnDecreaseCalendar events.

The PreviousMonth parameter is the value of CalendarMonth before it was changed to the new value.

See also: OnChangeYear , OnIncreaseCalendar , OnDecreaseCalendar