SiteKiosk Documentation
One Step Back

OnKeyboardLayoutChange Event




Fires when the touchscreen keyboard layout changed.


Syntax

    SiteKiosk.LocaleManager.OnKeyboardLayoutChange = handler
    
Parameters
    handleLong 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 topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -