Sign in Join
FPDoc Onlineexperiment

TDateRangeCheckEvent procedure type

In unit EditBtn

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

Declaration

pascal
TDateRangeCheckEvent = procedure(Sender: TObject; var ADate: TDateTime)
 of object

Arguments

Sender

Object (TDateEdit) for the event notification.

ADate

The existing TDateTime value for the handler routine.

Description

TDateRangeCheckEvent is the type used to implement the OnDateRangeCheck property in TDateEdit. TDateRangeCheckEvent allows the control to perform actions needed for the existing value in ADate prior to validating and/or limiting the value to a specific range.

See also

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