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

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

 

 

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.