[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Calendar' (#lcl)

TCustomCalendar.OnYearChanged

OnYearChanged - event handler for a change in the year selected.

Declaration

Source position: calendar.pp line 119

public property TCustomCalendar.OnYearChanged : TNotifyEvent
  read FYearChanged
  write FYearChanged;

Description

OnYearChanged is a TNotifyEvent property that represents the event handler signalled when the year in the date/time value for the control has changed. OnMonthChanged is signalled from the LMYearChanged method. Applications should assign a procedure to the event handler to respond to the message notification.