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 IHTMLControlElement::accessKey property. Instead, they support the property by setting the IHTMLControlElement::tabIndex attribute to any valid negative or positive integer.

See also

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft