Cell(Row: Integer; Column: Integer): ITabRange;
Row. Row number.
Column. Column number.
The Cell property returns the cell, the coordinates of which are passed as the Row and Column input parameters.
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).
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(0, 0).Value := 10;
Tab.Cell(0, 1).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: