MoveTo Method



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


Syntax

    SiteKiosk.Keyboard.MoveTo(left, top)
Parameters
    left Long value that specifies specifies how far from the left of the SiteKiosk MainWindow the keyboard should be.
    top Long 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 top