TdxRangeControlDateTimeScale.GetDefaultDisplayText(TDateTime) Method
Creates a text label for the date/time scale from the specified TDateTime value.
Declaration
function GetDefaultDisplayText(const ADate: TDateTime): string; virtual;
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 tickmark label is painted on a date/time scale.
This function returns a Unicode text string created from a date/time value passed as the ADate parameter.
If you are implementing a custom Date/Time scale, you may need to override the GetDefaultDisplayText function in a TdxRangeControlDateTimeScale descendant.
See Also