From Xojo Documentation

Property (As String )
aDesktopUIControl.Tooltip = newStringValue
StringValue = aDesktopUIControl.Tooltip

New in 2021r3

Supported for all project types and targets.

Text of help message displayed as a Windows or Linux "tooltip" or macOS help tag.


The tip/tag is displayed when the user hovers the mouse cursor over the control.

Sample Code

This example adds a tooltip to a BevelButton that has an icon.

Me.CaptionAlignment = 0 // left
Me.CaptionDelta = 10
Me.Tooltip = "Click to bark."

Me.Icon = Woof // added to the project
Me.CaptionPosition = 2

See Also

ToolTip class