TabSheetBox.OnAutoFilter

Syntax

Sub TabSheetBoxOnAutoFilter(Sender: Object; Args: ITabAutoFilterEventArgs);

Begin

//set of operators

End Sub TabSheetBoxOnAutoFilter;

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 OnAutoFilter event occurs on setting table auto filter.

Example

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

Sub TabSheetBox1OnAutoFilter(Sender: Object; Args: ITabAutoFilterEventArgs);

Var

i: Integer;

Begin

i:=Args.Action;

End Sub TabSheetBox1OnAutoFilter;

After executing the event, the variable «i» will contain the selected condition type.

See also:

TabSheetBox