TabSheetBox.OnCellPictureClick

Syntax

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

Begin

//set of operators

End Sub TabSheetBoxOnCellPictureClick;

Parameters

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

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

Description

The OnCellPictureClick event occurs on mouse click on the image in the table cell. The event is handled only if the ITabCellStyle.EnablePictureEvents property has the TriState.OnOption value.

Example

To execute the example, the procedure has to be set as an event handler to the OnCellClick event for the TabSheetBox component with the TabSheetBox1 identifier.

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

Var

i,j: Integer;

Begin

i:=Args.Row;

j:=Args.Column;

End Sub TabSheetBox1OnCellClick;

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

See also:

TabSheetBox