accelerator property

Sets or retrieves a string that indicates whether the object represents a keyboard shortcut.

Syntax

Integer value = object.put_accelerator( v);Integer value = object.get_accelerator(* sIsAccessible);

Property values

Type: BSTR

false (false)

Default. Object is not a keyboard shortcut.

true (true)

Object is keyboard shortcut.

String format

false | true

CSS information

Applies To All elements
Media visual
Inherited no
Initial Value

Remarks

This property is supported by Windows 2000 and later, which enables users to hide navigation indicators for menu items and controls until the ALT key is pressed.

An access key is a single character used as a keyboard shortcut for selecting an object. Press and hold the ALT key followed by the character to move input focus and invoke the default event associated with an object.

Windows Internet Explorer 8. The IHTMLRuleStyle2::accelerator attribute is an extension to CSS, and can be used as a synonym for accelerator in IE8 Standards mode.

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP

Minimum supported server

Windows Server 2003

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IHTMLElement2::accessKey