FANDOM


Specifies the explanatory text that pops up in a small box when the user points to an object(glossary).Syntax:

set the toolTip of <object> to <string>

Examples:

set the toolTip of button "OK" to "Click to accept the result"
set the toolTip of me to field "Explanation"
set the toolTip of me to "Hello" & return & "World!"

Use the toolTip property to provide online help that explains what a control is for.

A tool tip is a small box containing some text, which pops up on the screen when the mouse pointer hovers over a control. The text briefly explains the purpose and use of the control.

The tool tip appears when the mouse pointer is within the control's rectangle and when the mouse has not moved for the time specified by the toolTipDelay property. If the mouse is moving, the tool tip does not appear.

Tool tips should be short and should not attempt to explain the entire action of the control. They are best used as a short reminder or clue about what a control does.

Tool tips appear only when the Browse tool is selected.

As of LiveCode version 2.7.4 toolTips can be multiline strings. Previous version restrict tooltips to single lines.

See also: help (message),points (property),toolTipDelay (property),

Community content is available under CC-BY-SA unless otherwise noted.