IDimensionViewer.EndDate

Fore Syntax

EndDate: DateTime;

Description

The EndDate property determines the period end of data range.

Fore Example

Executing the example requires that the form contains the Button component with the Button1 identifier, the DimensionTree component with the DimensionTree1 identifier and the UiDimension component with the UiDimension1 identifier. The calendar dictionary is selected as the source for UiDimension and UiDimension is selected as the source for DimensionTree.

Add a link to the ExtCtrls system assembly.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
    DimensionTree1.StartDate := DateTime.Compose(
2004020215001500);
    DimensionTree1.EndDate := DateTime.Compose(
2012020215001500);
End Sub Button1OnClick;

After executing the example clicking the button sets the defined period. The period start is set to 2004 and the period end is set to 2012.

See also:

IDimensionViewer