Show contents 

Tab > Tab Assembly Interfaces > ITabCellStyle > ITabCellStyle.Hint

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

Executing the example requires a form with the Button1 button located on it, the TabSheetBox component and the UiTabSheet component named UiTabSheet1. 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 := "Source data";
End Sub Button1OnClick;

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

See also:

ITabCellStyle