Returns the event object in the Dynamic HTML object model.
Syntax
object.DHTMLEvent
The object placeholder represents an object expression that evaluates to an object in the Applies To list.
Remarks
To learn the X coordinate of a mouse click, a user programming with the Dynamic HTML object model would normally have to type:
Document.parentWindow.event.x
But by using this Visual Basic shortcut, the user need only type:
DHTMLEvent.x
To cancel the bubbling of an event in Dynamic HTML, one might write:
Window.event.cancelBubble=1
-or-
Document.parentWindow.event.cancelBubble=1
However, with the DHTMLEvent property, a Visual Basic user need only type:
DHTMLEvent.cancelBubble=1