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

TDateEdit.OnDateRangeCheck

Event handler signalled prior to validating and range checking a date value.

Declaration

Source position: editbtn.pas line 643

published property TDateEdit.OnDateRangeCheck : TDateRangeCheckEvent
  read FOnDateRangeCheck
  write FOnDateRangeCheck;

Description

OnDateRangeCheck is a TDateRangeCheckEvent with the event handler signalled prior to validating and range checking a date value. It allows the application to perform actions needed before a date value is potentially updated. An application can implement and assign a routine to the handler which responds to the event notification.

OnDateRangeCheck is signalled (when assigned) from the DoDateRangeCheck method. It occurs when a new value is assigned to either the MinDate or MaxDate property, and when ButtonClick is called to display the pop-up calendar for the control.

See also

TDateEdit.Date

  

Contains the TDateTime value for the control.

TDateEdit.MinDate

  

Smallest date value allowed in the date edit control.

TDateEdit.MaxDate

  

Largest date value allowed in the date edit control.

TDateEdit.DoDateRangeCheck

  

Signals the OnDateRangeCheck event handler (when assigned).

TDateEdit.ButtonClick

  

Displays a pop-up calendar dialog when the Button for the grouped edit control is clicked.

TDateRangeCheckEvent

  

Specifies an event handler signalled prior to validating a date for it lower and upper limits.


Version 4.0 Generated 2025-05-03 Home