Compartilhar via


IDOMFocusEvent interface

Provides properties and methods for events that are caused by changes in element focus.

Members

The IDOMFocusEvent interface inherits from the IDispatch interface. IDOMFocusEvent also has these types of members:

  • Methods
  • Properties

Methods

The IDOMFocusEvent interface has these methods.

Method Description
initFocusEvent

Initializes a new focus event that the IDocumentEvent::createEvent method created.

 

Properties

The IDOMFocusEvent interface has these properties.

Property Description

relatedTarget

Gets the secondary element that is involved in an event.

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch