ITabRange.EntireRows

Syntax

EntireRows: ITabRange;

Description

The EntireRows property returns a range, consisting only of the rows, included in the current range.

Example

Executing the example requires a form with the Button1 button located on it, the TabSheetBox component and the UiTabSheet component named UiTabSheet1. UiTabSheet1 is selected as the data source for the TabSheetBox component.

    Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
    
Var
        TSheet: ITabSheet;
        TRange1, TRange2: ITabRange;
    
Begin
        TSheet := UiTabSheet1.TabSheet;
        TRange1 := TSheet.View.Selection.Range;
        TRange2 := TRange1.EntireRows;
    
End Sub Button1OnClick;

After clicking the button the variable TRange1 contains link to the currently selected table range. The variable TRange2 contains link to the range that consist of the rows included into TRange1.

See also:

ITabRange