RefreshPart([Value: Integer = 0]);
The Value parameter determines table area to be refreshed. A value contained in the EaxGridRefreshPart enumeration is to be specified as the parameter value.
The RefreshPart method refreshes a specified table area.
Executing this example requires a form, a button with the identifier Button1 positioned on this 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 is to be loaded to the UiErAnalyzer1.
This 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 this example, alternate style is applied to the workbook table. After that only table style is refreshed.
See also: