Sub TabSheetBoxOnHyperlinkClick(Sender: Object; Args: ITabHyperlinkClickEventArgs);
Begin
//set of operators
End Sub TabSheetBoxOnHyperlinkClick;
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.
The OnHyperlinkClick event occurs on clicking a hyperlink in the table cell.
If a hyperlink is set up for an cell containing an image, clicking the image first triggers the OnHyperlinkClick event and next the OnCellPictureClick.
To execute the example, the procedure has to be set as an event handler to the OnHyperlinkClick event for the TabSheetBox component with the identifier TabSheetBox1.
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: