Sign in Join
FPDoc Onlineexperiment

TTimeEdit.TimeSeparator property

Member of TTimeEditpublishedIn unit EditBtn

Specifies the separator character used to delimit time parts in the format settings applied to the control.

Declaration

pascal
property TimeSeparator: string read FTimeSeparator write SetTimeSeparator;

Description

TimeSeparator is a String property which contains the separator used to delimit time parts specified in the TimeFormat property. It allows the default time separator from the system format settings to be overridden in the class instance.

Changing the value for the property causes the Text property to be updated using the new separator.

TimeSeparator is used in the UsedTimeSeparator method called when a new value is assigned to the Time property. When omitted, the default time separator in DefaultFormatSettings is used instead.

Please note: While TimeSeparator is a String type, only the first character specified in the property is actually used. The other characters in the property are ignored.

Use TimeFormat to specify the time format settings used in the class instance.

Added in LCL version 4.0.

See also

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