Filter: ILanerFilter;
Filter: Prognoz.Platform.Interop.Laner.ILanerFilter;
The Filter property returns parameters of filtering data in the workbook.
Use Filter instead of the outdated ILaner.SuppressEmpty property.
Executing the example requires a form with the Button1 button, the LanerBox component named LanerBox1 and the UiErAnalyzer component named UiErAnalyzer1 that is a data source for the LanerBox component. 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
Laner: ILaner;
Filter: ILanerFilter;
Begin
Laner := UiErAnalyzer1.ErAnalyzer.Laner;
Filter := Laner.Filter;
Filter.SuppressEmpty := True;
Filter.SuppressEmptyArea := LnSuppressEmptyArea.FullSerie;
End Sub Button1OnClick;
After executing this example the workbook switches to the filtering mode for the whole series data.
See also: