IEaxGrid.RefreshPart

Syntax

RefreshPart([Value: Integer = 0]);

Parameters

The Value parameter determines table area to be refreshed. A value contained in the EaxGridRefreshPart enumeration should be specified as the parameter value.

Description

The RefreshPart method refreshes a specified table area.

Example

Executing the example requires a form, a button with the Button1 identifier on the form, the LanerBox component and the UiErAnalyzer component named UiErAnalyzer1 which is used as a data source for LanerBox. The workbook of time series database should be loaded to UiErAnalyzer1.

The example is executed on clicking the button.

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

Var

Expr: IEaxAnalyzer;

TableStyle: ITabTableStyle;

Grid: IEaxGrid;

Begin

Expr := UiErAnalyzer1.ErAnalyzer;

Grid := Expr.Grid;

TableStyle := Grid.Style.TableStyle;

TableStyle.AssignPredefined(TabTablePredefinedStyle.DarkBlue);

Grid.RefreshPart(EaxGridRefreshPart.TableStyle);

End Sub Button1OnClick;

After executing the example, alternate style is applied to the workbook table. After that only table style is refreshed.

See also:

IEaxGrid