From Xojo Documentation

Class (inherits from Object)

Used to create and display a tooltip at the user-specified location.

Shared Methods
Hide Show


Since the ToolTip class's methods are shared methods, you do not need to instantiate an instance of the class in order to use it.

ToolTips do not appear on 64-bit macOS builds.

Sample Code

The following code is placed in the MouseDown event of a Window. It uses the X and Y coordinates passed into the event.

ToolTip.Show("This is my tip", Self.Left + X, Self.Top + Y)
Return True

The following line in the Action event of a PushButton displays the contents of a TextField as a tip.

Tooltip.Show(TextField1.Text, System.MouseX, System.MouseY + 20, True)

See Also

RectControl.HelpTag property