Skip to main content

TdxRangeControlDateTimeScale Members

The base class for all classes that implement date/time scales displayed by the range control.

Constructors

Name Description
Create(TPersistent) Creates a new TcxOwnedPersistent class descendant instance. Inherited from TcxOwnedPersistent.

Properties

Name Description
Active Specifies if the date/time scale is active.
Owner protected Provides access to the persistent object to which the current property set or persistent information container belongs. Inherited from TcxOwnedPersistent.
ScaleUnit Returns the measurement unit used to graduate the date/time scale.
Visible Specifies if the date/time scale is displayed on the range control‘s ruler.

Methods

Name Description
Assign(TPersistent) Updates the persistent information from the specified source. Inherited from TcxOwnedPersistent.
AssignTo(TPersistent) Inherited from TPersistent.
CeilDate(TDateTime) Rounds the specified date/time value up, to the beginning of the next whole interval equal to the measurement unit used to graduate the scale.
DoAssign(TPersistent) protected Updates the persistent information container’s class-specific properties with the corresponding values obtained from another persistent information container. Inherited from TcxOwnedPersistent.
Equals(TObject) Inherited from TObject.
GetDateInterval(TDateTime,TDateTime) Returns the specified range of date/time values as a fraction of the range control‘s viewport.
GetDefaultDisplayText(TDateTime) Creates a text label for the date/time scale from the specified TDateTime value.
GetDisplayText(TDateTime,Integer) Creates a specifically formatted text label for the date/time scale from the specified TDateTime value.
GetHashCode Inherited from TObject.
GetNamePath Inherited from TPersistent.
GetOwner protected Returns the persistent object to which the current property set or persistent information container belongs. Inherited from TcxOwnedPersistent.
IncDate(Double,Int64) Retuns the viewport coordinate of the next date/time value tickmark corresponding to the beginning of the next whole time interval equal to the measurement unit used to graduate the scale.
RoundDate(TDateTime) Rounds the specified date/time value to the beginning of the nearest whole time interval equal to the measurement unit used to graduate the scale.
ToString Inherited from TObject.
TruncDate(TDateTime) Rounds the specified date/time value to the beginning of the current whole time interval equal to the measurement unit used to graduate the scale.
See Also