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

TCustomCalendar.OnDayChanged

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

Declaration

Source position: calendar.pp line 131

public property TCustomCalendar.OnDayChanged : TNotifyEvent
  read FDayChanged
  write FDayChanged;

Description

OnDayChanged is a TNotifyEvent property that represents the event handler signalled when the day number in the date/time value for the control has changed. OnDayChanged is signalled from the LMChanged and LMDayChanged 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.LMDayChanged

  

Handles the LCL LM_DAYCHANGED message received when the day number has been changed on the calendar control.


Version 4.0 Generated 2025-05-03 Home