ITabCellStyle.Hint

Syntax

Hint: String;

Description

The Hint property sets the text of a hint that appears when you place the mouse cursor over the cell.

Example

To execute the example a form, a button on this form named the Button1, the TabSheetBox component and the UiTabSheet component named UiTabSheet1 are required. The UiTabSheet1 is used as a data source for the TabSheetBox component.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

TSheet: ITabSheet;

TRange: ITabRange;

Style: ITabCellStyle;

Begin

TSheet := UiTabSheet1.TabSheet;

TRange := TSheet.View.Selection.Range;

Style := TRange.Style;

Style.Hint := "Original data";

End Sub Button1OnClick;

Click this button to set hint text for the selected cell range.

See also:

ITabCellStyle