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

TDateEdit.GetDateFormat

Gets the FormatDateTime-compatible format specification used for the current DateOrder in the control.

Declaration

Source position: editbtn.pas line 634

public function TDateEdit.GetDateFormat: string;

Function result

String with the fixed date format for the DateOrder in the control.

Description

GetDateFormat reads the member value assigned when the SetDateMask method is called. It contains the FormatDateTime-compatible format specification used to convert values in Text and Date when DateOrder has a value other than doNone.

GetDateFormat is not used in the current LCL version.

Use the DateFormat property for the format used when DateOrder is set to doNone.

See also

TDateEdit.Date

  

Contains the TDateTime value for the control.

TDateEdit.DateOrder

  

Controls the display order for Year, Month, and Day parts of the Date value.

TDateEdit.DateFormat

  

Specifies the format string used for the date value in the control.

TDateEdit.Text

  

String with the text or caption for the control.

TDateEdit.SetDateMask

  

Applies an EditMask based on the DateOrder for the control.


Version 4.0 Generated 2025-05-03 Home