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

NameCtrl.DoAccelerator Method

Last modified: January 12, 2010

Applies to: SharePoint Foundation 2010

Opens the drop-down menu for online presence information if an on-object UI is displayed.


expression.DoAccelerator()

expression

An expression that returns a NameCtrl Control object.

This method is used for accessibility, and it should be called when the user presses ALT+SHIFT+F10.

If an ActiveX control named NameObj is on the page, the following code responds to a KeyDown event:

if (window.event.altKey && window.event.shiftKey && window.event.keyCode==121)
   NameObj.DoAccelerator();
If window.event.altKey AndAlso window.event.shiftKey AndAlso window.event.keyCode=121 Then
   NameObj.DoAccelerator()
End If

Show:
© 2015 Microsoft