Export (0) Print
Expand All

accessKey property

[This documentation is preliminary and is subject to change.]

Sets or retrieves the access key for the object.

Syntax

HRESULT value = object.put_accessKey(BSTR v);HRESULT value = object.get_accessKey(BSTR* p);

Property values

Type: BSTR

a key on an alphanumeric keyboard.

Remarks

In Windows Internet Explorer 7 and greater, ALT+D selects text in the Address bar, making D unavailable as a keyboard shortcut on a webpage.

As of Microsoft Internet Explorer 5, some scoped elements do not implicitly support the IHTMLAnchorElement::accessKey property. Instead, they support the property by setting the IHTMLAnchorElement::tabIndex attribute to any valid negative or positive integer.

See also

Reference
IHTMLRuleStyle2::accelerator
IHTMLAnchorElement::tabIndex

 

 

Build date: 6/6/2012

Community Additions

Show:
© 2015 Microsoft