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

For the example to be executed, it is supposed that a regular report with the REGL_REP identifier exists.

Sub Main;

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(0) As IPrxTable;

Tab := SheetT.TabSheet;

Tab.CellHint(0, 0) := "Hint";

(Rep As IMetabaseObject).Save;

End Sub Main;

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

See also:

ITabSheet