ITabAutoFilterEventArgs.Action

Syntax

Action: TabAutoFilterAction;

Description

The Action property returns the type of the selected autofilter condition.

Example

Executing the example requires a form. The following components are placed on the form: the TabSheetBox component and the UiTabSheet component named UiTabSheet1 and used as a data source for the TabSheetBox. This procedure is set a handler of the OnAutoFilter event.

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

Var

i: Integer;

Begin

i := Args.Action;

End Sub TabSheetBox1OnAutoFilter;

As the result, the "i" variable will contain the type of the selected autofilter condition.

See also:

ITabAutoFilterEventArgs