TDateEdit.DefaultToday property
Declaration
property DefaultToday: Boolean read FDefaultToday write FDefaultToday default False;Description
DefaultToday is a
Boolean property which indicates if
the current system date is used when the Date property has not been assigned
or contains an invalid date value. The default value for the property is
False.
DefaultToday is used in the ButtonClick method, and causes SysUtils.Date to be used as the date value when set to True. This occurs when the date contains the NullDate value, or when the date is not within the date range allowed for a given platform. It is used when a new value is assigned to the DirectInput property and a valid date has not been assigned to the Date property. It is also used when a new value is assigned to Text and DirectInput has not been enabled for the control.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
