Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 13.0 (current release)Version 12.0Version 11.0Version 10.0Version 2.0 (home page)Version 1.0 (home page)

On this page

setKeyboardForControl

Summary

Associate control with independent keyboard settings initialized to a specific keyboard.

Syntax

keyman.setDefaultKeyboardForControl(Pelem, keyboard, languageCode);

Parameters

Pelem
Type: Element
The control element to be managed manually.
keyboard
Type: string optional
The ID (internal name) of a keyboard.
languageCode
Type: string optional
The three-letter language code for the keyboard.

Return Value

undefined

Description

This function establishes the control with separately-managed keyboard settings from other, non-specialized controls on the page. This may be undone by setting both keyboard and languageCode to null, reverting the control back to default keyboard-management behavior.

Due to system limitations, this function will fail if called on an IFRAME element.