As you can see in the provided example there is just one form that is the heart of this On-Screen keyboard. The only thing that must be done in your own application is implementing the type of input control like this

Keyboard VirtualKeyoard = new Keyboard();
VirtualKeyoard.PARENT = this;
//define bounded control 
hereVirtualKeyoard.SetControl = InputrichText;
int screenHeight = Screen.PrimaryScreen.WorkingArea.Height;
int screenWidth = Screen.PrimaryScreen.WorkingArea.Width;
Point parentPoint = this.Location;
 int parentHeight = this.Height;
int parentWidth = this.Width;
int resultX; int resultY;
resultY = parentPoint.Y + (this.Height);
resultX = parentPoint.X + 30;VirtualKeyoard.Location = new Point(resultX, resultY);
//if you want to force 

Last edited Jun 16, 2013 at 4:13 PM by kabdolla, version 1


No comments yet.