TabSheetBox.OnColumnClick

Syntax

Sub TabSheetBoxOnColumnClick(Sender: Object; Args: ITabColumnEventArgs);

Begin

//set of operators

End Sub TabSheetBoxOnColumnClick;

Parameters

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.

Description

The OnColumnClick event occurs when the user clicks on a table column header.

Example

Executing the example requires the procedure is set as the OnColumnClick event handler 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:

TabSheetBox