ToolTip.Show
From Xojo Documentation
This item was deprecated in version 2019r2. Please use Application.ShowTooltip as a replacement. |
Shared Method
ToolTip.Show(tip As String, x As Integer, y As Integer, autoHide As Boolean)
Supported for all project types and targets.
Supported for all project types and targets.
Pops up the passed tip at the global coordinates given by x, y (relative to the screen). If AutoHide is True, then the tip will automatically hide itself; you do not have to call Hide to hide it. The default is True.
Notes
AutoHide is used only on Windows and Linux; on macOS, the ToolTip hides automatically.
Examples
The following code is placed in the MouseDown event of a window. It uses the X and Y coordinates passed into the event.
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)