ITabView.EmulateCellPictureClick

Fore Syntax

EmulateCellPictureClick(Row: Integer; Column: Integer);

Fore.NET Syntax

EmulateCellPictureClick(Row: integer; Column: integer);

Parameters

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.

Description

The EmulateCellPictureClick method emulates a click on the image located in the specified cell.

Comments

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:

Fore Example

To execute the example a form, a button named Button1 positioned on this form, the TabSheetBox component named TabSheetBox1, and a data source for TabSheetBox1 are required.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    TSheet: ITabSheet;
    TView: ITabView;
Begin
    TSheet := TabSheetBox1.Source.GetTabSheet;
    TView := TSheet.View;
    TView.EmulateCellPictureClick(00);
End Sub Button1OnClick;

Clicking the button emulates a click on the image in the A0 cell.

Fore.NET Example

The requirements and result of the Fore.NET Example execution match with those in the Fore Example.

Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
    TSheet: TabSheet;
    TView: ITabView;
Begin
    TSheet := TabSheetBoxNet1.Source.GetTabSheet();
    TView := TSheet.View;
    TView.EmulateCellPictureClick(00);
End Sub;

See also:

ITabView