TabSheetBox.OnHyperlinkClick

Syntax

Sub TabSheetBoxOnHyperlinkClick(Sender: Object; Args: ITabHyperlinkClickEventArgs);

Begin

//set of operators

End Sub TabSheetBoxOnHyperlinkClick;

Parameters

Sender is a parameter, indicating the component, in which the event has occurred.

Args is a parameter, that allows to determine the cell, in which the event has occurred.

Description

The OnHyperlinkClick event occurs on clicking a hyperlink in the table cell.

Comments

If a hyperlink is set up for an cell containing an image, clicking the image first triggers the OnHyperlinkClick event and next the OnCellPictureClick.

Example

Executing the example requires this procedure is set as the OnHyperlinkClick event handler for the TabSheetBox component with the TabSheetBox1 identifier.

Sub TabSheetBox1OnHyperlinkClick(Sender: Object; Args: ITabCellEventArgs);

Var

i,j: Integer;

Begin

i:=Args.Row;

j:=Args.Column;

End Sub TabSheetBox1OnCellClick;

After the event has occurred, the variable "i" will contain the row number, and the variable "j" will contain the column number of the cell, in which the event has occurred.

See also:

TabSheetBox