Partager via


onhover Event

Fires when the mouse or keyboard moves over a TreeNode.

Syntax

Inline HTML <TREEVIEW onhover = "handler" ... > All platforms
Event property TREEVIEW.onhover = handler Microsoft JScript only
TREEVIEW.onhover = GetRef("handler") Microsoft Visual Basic Scripting Edition (VBScript) 5.0 or later only
Named script <SCRIPT FOR = TREEVIEW EVENT = onhover> Internet Explorer only

Event Information

Bubbles No
Cancels Yes
To invoke Move the mouse or keyboard over a TreeNode.
Default action Calls the associated event handler if there is one.

Event Object Properties

Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query the rid not found (_inet_event_Object). object for the following event properties.

Available Properties

treeNodeIndex

Refer to the specific event object for additional event properties.

Remarks

This event does not fire when using the keyboard to navigate the TreeView if autoSelect is set to true.

Applies To

TREEVIEW

See Also

Internet Explorer WebControls, About the TreeView WebControl