Sub TabSheetBoxOnColumnClick(Sender: Object; Args: ITabColumnEventArgs);
Begin
//set of operators
End Sub TabSheetBoxOnColumnClick;
Sender - a parameter, indicating the component, in which the event has occurred.
Args - a parameter, which allows to define the column, in which the event has occurred.
The OnColumnClick event occurs when a user clicks on a table column header.
To execute the example, the procedure has to be assigned as an event handler to the OnColumnClick event for the TabSheetBox component named TabSheetBox1.
Sub TabSheetBox1OnColumnClick(Sender: Object; Args: ITabColumnEventArgs);
Var
i: Integer;
Begin
i:=Args.Column;
End Sub TabSheetBox1OnColumnClick;
After the event has occurred, the variable «i» will contain the column number, in which the event has occurred.
See also: