TabSheetBox.OnCellClick

Syntax

Sub TabSheetBoxOnCellClick(Sender: Object; Args: ITabCellEventArgs);

Begin

//set of operators

End Sub TabSheetBoxOnCellClick;

Parameters

Sender - a parameter, indicating the component, in which the event has occurred.

Args - a parameter, which allows to define the cell, which has been edited.

Description

The OnCellClick event occurs on clicking in the table cell.

Example

Executing the example requires this procedure is set as the OnCellClick event handler for the TabSheetBox component named «TabSheetBox1».

Sub TabSheetBox1OnCellClick(Sender: Object; Args: ITabCellEventArgs);

Var

i,j: Integer;

Begin

i:=Args.Row;

j:=Args.Column;

End Sub TabSheetBox1OnCellClick;

After the event has occurred, the variable «i» will contain the row number, and the variable «j» - the column number of the cell, which has been clicked.

See also:

TabSheetBox