Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets a value that indicates whether the default action should be canceled.
![]() ![]() |
Syntax
HRESULT value = object.get_defaultPrevented(* p);
Property values
Type: VARIANT_BOOL
VARIANT_TRUE (true)
The default action should be prevented.
VARIANT_FALSE (false)
The default action is allowed.
Standards information
Remarks
You can set the IDOMEvent::defaultPrevented while processing an event by calling the IDOMEvent::preventDefault method. If the event was initialized with the cancelable parameter of IDOMEvent::initEvent set to VARIANT_FALSE, the default action cannot be prevented.
See also
Reference
.png)
.png)