IEaxGrid.SpecificRange

Syntax

SpecificRange(RangeType: EaxRangeType): ITabRange;

Parameters

RangeType. The type of integral part of express report table.

Description

The SpecificRange property returns the cell range for the integral part type of express report table.

Comments

The type value of the integral part of the express report table is passed by the RangeType parameter (data cells, row header cells, column header cells, cells of the corner, legend cells, totals cells, calculated indicators cells, Pareto analysis cells, ranking cells).

Example

Create the form to execute an example, then connect the Tab system assembly, locate the Button1 button, the TabSheetBox component named TabSheetBox1 and the UiErAnalyzer1 component named UiErAnalyzer1 on the form.  Select the express report with EXP1 identifier as an object of the UiErAnalyze component. Select the UiErAnalyzer1 as a data source for the TabSheetBox component and the True value for the Active property of the UiErAnalyzer component.

Class TestForm: Form
    Button1: Button;
    UiErAnalyzer1: UiErAnalyzer;
    TabSheetBox1: TabSheetBox;
    ex : IEaxAnalyzer;

    Sub TestFormOnShow(Sender: Object; Args: IEventArgs);
    Begin
        ex := UiErAnalyzer1.ErAnalyzer;
    End Sub TestFormOnShow;

    Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
    Begin
        ex.Grid.TabSheet.View.Selection.Range := ex.Grid.SpecificRange(EaxRangeType.Internal);
    End Sub Button1OnClick;
End Class TestForm;

The cell range is selected in the express report table by clicking the Button1 button.

See also:

IEaxGrid