Sign in Join
FPDoc Onlineexperiment

TCustomCalendar.OnYearChanged property

Member of TCustomCalendarpublicIn unit Calendar

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

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.