ILanerSeries.HaveUnsavedData

Syntax

HaveUnsavedData: Boolean;

Description

The HaveUnsavedData property returns whether the workbook contains any series with the unsaved data.

Comments

Available values:

Example

Executing the example requires a form with the Button1 button, the LanerBox component named LanerBox1 and the UiErAnalyzer component which is used as a data source for LanerBox. Workbook 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
    Analyzer: IEaxAnalyzer;
    Laner: Ilaner;
    Series: ILanerSeries;
Begin
    Analyzer := UiErAnalyzer1.ErAnalyzer;
    Laner := Analyzer.Laner;
    Series := Laner.Series;
    If Series.HaveUnsavedData Then
        Laner.SaveChangedSeries;
    End If;
End Sub Button1OnClick;

After executing the example the data of the changed series is saved.

See also:

ILanerSeries