A newer version of Max is available. Click here to access the latest version of the documentation

hint Reference

Display hint text

hint

Description

When you mouse over a hint, you'll see a message appear on the screen below the area defined by the hint. The hint object has a number of messages you can use to change its appearance.

Examples

Provide optional hints to UI objects

Discussion

You can select a hint object and set its font and font size using the Font menu, or use its Get Info... dialog to apply other settings.

Arguments

None.

Attributes

delay [int] (default: 0)

Sets the delay in milliseconds until the hint appears. A value of 0 sets a default delay time, usually about 500 ms.

enabled [int] (default: 1)

Toggles enabling display of hint text.

Common Box Attributes

Messages

int

Arguments

enable [int]
0 will disable any hinting while a non-zero number will enable it.

float

Arguments

enable [float]
Converted to int.

(mouse)

When the cursor moves within the hint object's rectangle, its text message will appear in a colored area beneath the rectangle after the specified delay.

set

Arguments

message [symbol]
The word set, followed by any message, will replace the message stored in hint. This message will be displayed when the mouse is positioned over the hint object after an interval of time specified by the delay message.

Output

message

The message stored in the hint object.

See Also

Name Description
comment
umenu