IReportColumnEventArgs.Column

Syntax

Column: Integer;

Description

The Column property returns index of the column, for which the event is generated.

Example

The following example assumes that there is the ReportBox1 object with the ReportBox type.

Sub ReportBox1OnColumnClick(Sender: Object; Args: IReportColumnEventArgs);

Begin

WinApplication.InformationBox(Args.Column.ToString);

End Sub ReportBox1OnColumnClick;

Clicking a column header with the main mouse button displays an information message containing the number of this column.

See also:

IReportColumnEventArgs