Gets or sets a string that indicates whether the object represents a keyboard shortcut.
HRESULT IHTMLCSSStyleDeclaration::get_accelerator(BSTR *p);HRESULT IHTMLCSSStyleDeclaration::put_accelerator(BSTR v);
- Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.
- BSTR that specifies one of the values listed in Possible Values.
false Default. Object is not a keyboard shortcut. true Object is keyboard shortcut.
Returns S_OK if successful, or an error value otherwise.
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.
Internet Explorer 8. The -ms-accelerator attribute is an extension to CSS, and can be used as a synonym for accelerator in IE8 Standards mode.