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

To execute the example, this procedure has to be set as an event handler to the OnAutoFilter event 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