SiteKiosk Documentation
One Step Back

MoveTo Method




The MoveTo Method moves the onscreen keyboard to a specified position.


Syntax

    SiteKiosk.Keyboard.MoveTo(left, top)
Parameters
    leftLong value that specifies specifies how far from the left of the SiteKiosk MainWindow the keyboard should be.
    topLong value that specifies specifies how far from the top of the SiteKiosk MainWindow the keyboard should be.
Return Value
    None.
Remarks
    None.
Examples
    The following example moves the keyboard to the bottom right corner of the screen.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    var mainwindow = SiteKiosk.WindowList.MainWindow;
    var left = mainwindow.Width - SiteKiosk.Keyboard.Width;
    var top = mainwindow.Height - SiteKiosk.Keyboard.Height;
    SiteKiosk.Keyboard.MoveTo(left, top);
    </SCRIPT>

Applies to
    SiteKiosk v7.0 (and later versions).

Back to topBack to top

© 1997-2011 PROVISIO - Aventura, USA & Muenster, Germany - SiteKiosk DevTeam