TDateEdit.SetDirectInput procedure
Sets the value in the DirectInput property.
Declaration
procedure SetDirectInput(AValue: Boolean); overrideArguments
AValue | New value for the property. |
Description
SetDirectInput is overridden in
TDateEdit to
synchronize the value from the Text property to the Date property when the
property value in DirectInput is changed. The OnCustomDate event handler is
signalled (when assigned) to handle a custom date format or value in Text.
DateOrder is used to determine the order of the date component values in
Text. When DateOrder is doNone, the format setting in DefaultFormatSettings
or DateFormat is used. An implementation routine is used to parse the value
in Text if cannot be converted using TryStrToDate or ParseDate.
Date is set to the value in NullDate if Text is not successfully converted to a TDateTime value.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
