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

TCustomCalendar.OnMonthChanged

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

Declaration

Source position: calendar.pp line 132

public property TCustomCalendar.OnMonthChanged : TNotifyEvent
  read FMonthChanged
  write FMonthChanged;

Description

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

  

Handles the LCL LM_MONTHCHANGED message received when the month has been changed using the calendar control.


Version 4.0 Generated 2025-05-03 Home