ITabObject.Tooltip

Syntax

Tooltip: String;

Description

The Tooltip property determines the text of the tooltip, which appears when the mouse cursor is over the object.

Example

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Obj: ITabObject;
    Size: IGxRectF;
Begin
    Size := New GxRectF.Create(001010);
    Obj := UiTabSheet1.TabSheet.Objects.Add("PrxPicture", Size);
    (Obj As IPrxPicture).Image := GxImage.FromFile("c:\View.bmp");
    Obj.Tooltip := "This image";
End Sub Button1OnClick;

As a result the image "c:\View.bmp" is created on the table sheet; when the mouse cursor is over this image, a tooltip with the text "This is an image" appears.

See also:

ITabObject