From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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

New in 2019r2

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