Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 18.0Version 17.0 (current version)Version 16.0Version 15.0Version 14.0Version 13.0Version 12.0Version 11.0Version 10.0Version 2.0

On this page

You are viewing an old version of this documentation. Click here to open the current version, 17.0.

setRect

Summary

Set absolute position and size of desktop OSK window.

Syntax

keyman.osk.setRect(p);

Parameters

p
Type: Object
An object specifying location and/or user permissions for altering the OSK's display.

Return Value

undefined

Description

The setRect object contains the following members:

left
number optional
Sets the x-coordinate of the OSK's left side.
top
number optional
Sets the y-coordinate of the OSK's top side.
width
number optional
Sets the width of the OSK.
height
number optional
Sets the height of the OSK.
nosize
string optional
If set to 'none', prevents the user from altering the OSK's size. Setting the value to 'block' will undo this.
nomove
string optional
If set to 'none', prevents the user from relocating the OSK manually. Setting the value to 'block' will undo this.

The values and states of omitted object members will not be changed.