TdxRangeControlPredefinedDateHeaderScale.GetDefaultDisplayText(TDateTime) Method
Creates a formatted text label for the date/time header scale according to its measurement unit.
Declaration
function GetDefaultDisplayText(const ADate: TDateTime): string; override;
Parameters
Name | Type |
---|---|
ADate | TDateTime |
Returns
Type |
---|
string |
Remarks
Normally, this function supports the internal infrastructure and is not intended to be used directly from your code. The GetDefaultDisplayText function is called internally by the range control when a label is painted within the respective scale header.
This function returns a Unicode string created from a date/time value passed as the ADate parameter.
See Also