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 a user clicks on a table column header.

Example

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:

TabSheetBox