Sub TabSheetBoxOnRowClick(Sender: Object; Args: ITabRowEventArgs);
Begin
//set of operators
End Sub TabSheetBoxOnRowClick;
Sender is a parameter, indicating the component, in which the event has occurred.
Args is a parameter, which allows to define a row, in which the event has occurred.
The OnRowClick event occurs on mouse click in the table row header.
To execute the example, this procedure has to be assigned as an event handler to the event OnRowClick for the component TabSheetBox named «TabSheetBox1».
Sub TabSheetBox1OnRowClick(Sender: Object; Args: ITabRowEventArgs);
Var
i: Integer;
Begin
i:=Args.Row;
End Sub TabSheetBox1OnRowClick;
After executing the event, the variable «i» will contain the number of the row, in the header of which the mouse button has been pressed.
See also: