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

TCustomCalendar.OnYearChanged

Event handler signalled when the year number in DateTime has been changed using the calendar control.

Declaration

Source position: calendar.pp line 133

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

Description

OnYearChanged is a TNotifyEvent property that represents the event handler signalled when the year number in the date/time value for the control has changed. OnMonthChanged is signalled from the LMChanged and LMYearChanged methods. It occurs after the new date value from the widget has been assigned to the members for the DateTime and Date properties.

Applications can assign an object procedure to the event handler to respond to the change notification.

See also

TCustomCalendar.Date

  

String representation for the date value on the calendar control.

TCustomCalendar.DateTime

  

Native data type used for a date value on the calendar control.

TCustomCalendar.LMChanged

  

Handles the LCL LM_CHANGED message received when the calendar control is updated.

TCustomCalendar.LMYearChanged

  

Handles the LCL LM_YEARCHANGED message received when the year number has been changed on the calendar control.


Version 4.0 Generated 2025-05-03 Home