Contents Topics Index  <<  >>

OnChangeYear event


Unit

WallCalendar

Applies to

TWallCalendar

Declaration

Property OnChangeYear : TChangeYearEvent    ;

Description

The OnChangeYear event will be fired after the CalendarYear property changes. This can happen in one of three ways: the user can change the value in the year SpinEdit, the increase or decrease year cell could be clicked in the navigation section of the calendar header, or you can set the CalendarYear property to a new value. The only time this event will not be fired when the year 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 PreviousYear parameter is the value of CalendarYear before it was changed to the new value.

See also: OnChangeMonth , OnIncreaseCalendar , OnDecreaseCalendar