Column: Integer;
The Column property returns number of the column for which some event has occurred.
Executing the example requires a form. The form must contain the TabSheetBox component and the UiTabSheet component named UiTabSheet1. UiTabSheet1 is the data source for the TabSheetBox component. The procedure handles the OnColumnClick event.
Sub TabSheetBox1OnColumnClick(Sender: Object; Args: ITabColumnEventArgs);
Var
i: Integer;
Begin
i := Args.Column;
End Sub TabSheetBox1OnColumnClick;
After the event occurs the "i" variable contains the number of the column, header of which has been clicked.
See also: