Share via


HtmlInput.SetKBFocus Method

Highlights and sets the focus to a particular key on the soft keyboard of the Triple-tap/Soft-keyboard control.

Note   This method has been deprecated.

Syntax

  HtmlInput
  .SetKBFocus(
  lKeyIndex
  )

Parameters

lKeyIndex

Required. A Number (long) specifying the zero-based index of the key to highlight and receive the focus.

Return Values

This method does not return a value.

Example Code

The following JScript example highlights and sets the focus to a key on the soft keyboard:

var FocusKey = 6;
objInput.SetKBFocus(FocusKey);

Requirements

Library: ehkeyctl.dll

Platform: Windows XP Media Center Edition 2005 and later

See Also