Show contents 

Tab > Tab Assembly Interfaces > ITabSheet > ITabSheet.CellHint

ITabSheet.CellHint

Syntax

CellHint(Row: Integer; Column: Integer): String;

Parameters

Row. Number of cell's row. Admissible parameter value lies within the [0; RowsCount) range.

Column. Number of cell's column. Admissible parameter value lies within the [0; ColumnsCount) range.

Description

The CellHint property determines the pop-up screen tip for the specified cell.

Example

Executing the example requires a regular report with the REGL_REP identifier.

Sub UserProc;
Var
    MB: IMetabase;
    Rep: IPrxReport;
    SheetT: IPrxTable;
    Tab: ITabSheet;
Begin
    MB := MetabaseClass.Active;
    Rep := MB.ItemById("REP_TABSHEET").Edit As IPrxReport;
    SheetT := Rep.Sheets.Item(0As IPrxTable;
    Tab := SheetT.TabSheet;
    Tab.CellHint(00) := "Tooltip";
    (Rep As IMetabaseObject).Save;
End Sub UserProc;

After this example is executed a ScreenTip is set for the A0 cell in the regular report.

See also:

ITabSheet