AVOIDMOUSE Attribute | avoidMouse Property

This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.

Sets or retrieves whether the ToolTip behavior moves away from the mouse cursor.

Syntax

XML <ELEMENT AVOIDMOUSE = bAvoid... >
Scripting [ bAvoid = ] ToolTip.avoidMouse

Possible Values

bAvoid String that specifies or receives one of the following values.
0
Default. The ToolTip does not move away from the mouse cursor.
1
The ToolTip moves to avoid contact with the mouse cursor.

The property is read/write. The property has a default value of 0.

Remarks

If avoidMouse is set to 1 and the user moves the mouse cursor away from the element and onto the ToolTip, the ToolTip disappears. If the property is set to 0, the ToolTip does not disappear when the mouse cursor moves directly from the element to the ToolTip.

The avoidMouse property is available only to objects participating in the ToolTip behavior.

Applies To

ToolTip