ITabSheet.Cell

Syntax

Cell(Row: Integer; Column: Integer): ITabRange;

Parameters

Row. Row number.

Column. Column number.

Description

The Cell property returns the cell, the coordinates of which are passed as the Row and Column input parameters.

Comments

The available value of the Row parameter is within the range [0; RowsCount). The available value of the Column parameter is within the range [0; ColumnsCount).

Example

Executing the example requires a form with the button with the Button1 identifier on it, the UiTabSheet component with the UiTabSheet1 identifier and the TabSheetBox component.

The example is the OnClick event handler for the button.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
    Var
        Tab: ITabSheet;
    Begin
        Tab := UiTabSheet1.TabSheet;
        Tab.Cell(00).Value := 10;
        Tab.Cell(01).Value := 20;
    End Sub Button1OnClick;

Clicking the button the 10 and 20 values are assigned for the table cells with the coordinates 0,0 and 0,1, respectively.

See also:

ITabSheet