IEaxGrid.DisplayGrid

Fore Syntax

DisplayGrid: Boolean;

Fore.NET Syntax

DisplayGrid: Boolean;

Description

The DisplayGrid property determines whether the table grid of express report is displayed.

Comments

The property is outdated, use the ITabView.DisplayGrid is used.

Fore Example

To execute an example, create a form named DisplayGridForm, the Button1 button on it, the TabSheetBox component named TabSheetBox1 and the UiErAnalyzer component named UiErAnalyzer1. The UiErAnalyzer component is a data source for the TabSheetBox component. Determine an express report from repository in the Object property of the UiErAnalyzer component.

Add event handlers of the OnClick button:

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Analyzer:IEaxAnalyzer;
    EaxGrid:IEaxGrid;
Begin
    UiErAnalyzer1.Active:=True;
    Analyzer := UiErAnalyzer1.ErAnalyzer;
    EaxGrid:=Analyzer.Grid;
    EaxGrid.DisplayGrid := Not EaxGrid.DisplayGrid;
End Sub Button1OnClick;

The table grid is shown or hidden when pushing the button after an example execution.

Fore.NET Example

To execute an example, create a form, the Button1 button on it, the TabSheetBoxNet component named TabSheetBoxNet1 and the UiErAnalyzerNet component named UiErAnalyzerNet1. The UiErAnalyzerNet component is a data source for the TabSheetBoxNet component. Determine an express report from repository in the Object property of the UiErAnalyzerNet component.

Add an event handler of the Click button:

Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
    Analyzer: IEaxAnalyzer;
    EaxGrid: IEaxGrid;
Begin
    UiErAnalyzerNet1.Active:=True;
    Analyzer:= UiErAnalyzerNet1.AnalyzerUi.ErAnalyzer;
    EaxGrid:= Analyzer.Grid;
    EaxGrid.DisplayGrid:= Not EaxGrid.DisplayGrid;
End Sub;

After executing the example the table grid is shown or hidden for the selected express report by clicking the button.

See also:

IEaxGrid