Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

accessKey property

Sets or retrieves the access key for the object.

Syntax

HRESULT value = object.put_accessKey( v);HRESULT value = object.get_accessKey(* 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 IHTMLLabelElement::accessKey property. Instead, they support the property by setting the IHTMLElement2::tabIndex attribute to any valid negative or positive integer.

See also

Reference
IHTMLRuleStyle2::accelerator
IHTMLElement2::tabIndex
x-ms-acceleratorKey

 

 

Community Additions

ADD
Show:
© 2015 Microsoft