EmulateCellPictureClick(Row: Integer; Column: Integer);
Row. The row containing hyperlink. Admissible parameter value lies within the [0; RowsCount) range.
Column. The column containing hyperlink. Admissible parameter value lies within the [0; ColumnsCount) range.
The EmulateCellPictureClick method emulates a click on the image located in the specified cell.
On performing the method the OnCellPictureClick event is generated for the component which table is worked with. Description of the event for various components is given in the following subsections:
Executing the example requires a form with the Button1 button located on it, the TabSheetBox component named TabSheetBox1, and a data source for TabSheetBox1.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
TSheet: ITabSheet;
TView: ITabView;
Begin
TSheet := TabSheetBox1.Source.GetTabSheet;
TView := TSheet.View;
TView.EmulateCellPictureClick(0, 0);
End Sub Button1OnClick;
Clicking the button emulates a click on the image in the A0 cell.
See also: