ITabSheetEventArgs.TabSheet

Syntax

TabSheet: ITabSheetBox;

Description

The TabSheet property returns the component for which the event is generated.

Example

Sub TabSheetBox1OnTableClick(Sender: Object; Args: ITabSheetEventArgs);

Var

s: String;

Begin

s := Args.TabSheet.Name;

End Sub TabSheetBox1OnTableClick;

After executing the event the "s" variable will contain the name of the sheet, on which the top left square has been clicked, which selects the whole table.

See also:

ITabSheetEventArgs