ILaner.EndYear

Syntax

EndYear: Integer;

Description

The EndYear property determines the year, after which workbook values are not displayed.

Comments

The property is outdated, use ILaner.EndDate.

Example

Executing the example requires a form with the Button1 button, the TabSheetBox component and the UiErAnalyzer component named UiErAnalyzer1 that is a data source for TabSheetBox. Working area of the time series database must be loaded to UiErAnalyzer1. Click the button to start executing this example.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

ErAn: IEaxAnalyzer;

Laner: ILaner;

Begin

ErAn := UiErAnalyzer1.ErAnalyzer;

Laner := ErAn.Laner;

Laner.BeginUpdate;

Laner.StartYear := 2000;

Laner.EndYear := 2010;

Laner.ForecastStartYear := 2010;

Laner.EndUpdate;

End Sub Button1OnClick;

After executing the example the new start, end and forecast points are set for the saved area. The working area redrawing is paused for the period of making changes.

See also:

ILaner