Lingo Dictionary > G-K > on getBehaviorTooltip |
![]() ![]() ![]() |
on getBehaviorTooltip
Syntax
on getBehaviorTooltip
statement(s)
end
Description
System message and event handler; contains Lingo that returns the string that appears in a tooltip for a script in the Library palette.
Director sends the getBehaviorTooltip
message to the script when the cursor stops over it in the Library palette. Place the on getBehaviorTooltip
handler within the behavior.
The use of the handler is optional. If no handler is supplied, the cast member name appears in the tooltip.
The handler can contain embedded Return characters for formatting multiple-line descriptions.
Example
This statement displays "Jigsaw puzzle piece" in the description pane.
on getBehaviorTooltip return "Jigsaw puzzle piece" end
See also
on getPropertyDescriptionList
, on getBehaviorDescription
, on runPropertyDialog
![]() ![]() ![]() |