TdxRangeControlDateTimeScale Class
The base class for all classes that implement date/time scales displayed by the range control.
Declaration
TdxRangeControlDateTimeScale = class(
TcxOwnedPersistent
)
Remarks
This class provides properties that allow you to:
Activate/deactivate the scale within the range control’s ruler (Active);
Hide or display the scale (Visible);
Identify the measurement unit used to graduate the scale (ScaleUnit).
A TdxRangeControlDateTimeScale object is referenced by:
The Day, Hour, Minute, Month, Quarter, Week, and Year properties, and the GetScale, RegisterScale, and UnRegisterScale methods provided by the TdxRangeControlDateTimeScales class;
The TdxRangeControlDateTimeClientProperties class’ Scale property.
Note
If you are implementing a custom date/time scale, you may need to override the CeilDate, GetDateInterval, IncDate, RoundDate, and TruncDate functions in a TdxRangeControlDateTimeScale class descendant.