OnKeyboardLayoutChange Event



 
Fires when the touchscreen keyboard layout changed.


Syntax

    SiteKiosk.LocaleManager.OnKeyboardLayoutChange = handler
    
Parameters
    handle Long value that contains the handle of the new layout.
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example shows the name of the touchscreen keyboard layout when it has been changed.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.LocaleManager.OnKeyboardLayoutChange = OnKBLayoutChange;
    function OnKBLayoutChange(handle)
    {
       KBLayouts = SiteKiosk.LocaleManager.KeyboardLayouts;
       for (i = 1; i <= KBLayouts.Count; i++)
         if (KBLayouts.Item(i).Handle == handle)
           alert(KBLayouts.Item(i).DisplayName);
    }
    </SCRIPT>
    

Applies to
    SiteKiosk v6.6 (and later versions).

Back to top