Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 17.0 (home page)Version 16.0 (home page, current version)Version 15.0 (home page)Version 14.0 (home page)Version 13.0 (home page)Version 12.0 (home page)Version 11.0 (home page)Version 10.0 (home page)Version 2.0Version 1.0 (home page)

On this page

KT

Summary

Inserts a text string and optional deadkey into the active output element.

Syntax

KeymanWeb.KT(text, dk);

Parameters

text
Type: string
The text to insert.
dk
Type: number optional
The deadkey's id, if one is to be inserted.

Return Value

boolean
true if the operation is successful, otherwise false.

Description

This function is designed to allow custom UI elements or custom OSK displays (as for the EuroLatin2 keyboard) to directly insert input into a control without losing the current input state due to loss of focus for the control. It is safe for use outside of keyboard code.