Sign in Join
FPDoc Onlineexperiment

TCustomCalendar.OnChange property

Member of TCustomCalendarpublicIn unit Calendar

Event handler signalled when the calendar control has been changed.

Declaration

pascal
property OnChange: TNotifyEvent read FOnChange write FOnChange;

Description

OnChange is a TNotifyEvent property with the event handler signalled when the calendar control is changed. It occurs when a day number is clicked on the calendar grid, and when the visible month is changed on the control. OnChange is signalled from the LMChanged, LMDayChanged, LMMonthChanged, and LMYearChanged methods. The event is signalled 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.