Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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 ToAll elements
Mediavisual
Inheritedno
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 IHTMLCurrentStyle::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 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IHTMLElement2::accessKey

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.