I needed a keyboard to enter data on a screen. I couldn't find one in the Forum so I built one using two virtual devices I use two scripts KeyStrokeAdd.vb and ShiftKeySet.vb. I also made this a custom group which I think will work if you copy to one of the custom directories in HSTouch. I pass the RefID from the group. The elements are not visible and the text color is transparent so they will not show. The Elements are named DeviceNo and DeviceNo1. The first is the device that stores the text and the second stores the shift key. A screenshot of just the keyboard is below: The Shift key Status text is just 0;False, 1,True.

Here is what the Device Status Graphics look like:
Shift Key

Text

The scripts are given Below
[ATTACH]n1386825[/ATTACH]
[ATTACH]n1386826[/ATTACH]
The XML File for the custom group is here:
[ATTACH]n1386827[/ATTACH]
You will have to remove the .txt from the files (Required to upload) I have not figured out a way to deal with all the punctuation characters (mostly to show the user on the keyboard) I could make the keyboard larger but that seems kludgey. I might have to create graphics to represent but that is for another day.
I hope others find this useful. I also have not written an event or script to clear the text in the device after x period of time.
Here is what the Device Status Graphics look like:
Shift Key
Text
The scripts are given Below
[ATTACH]n1386825[/ATTACH]
[ATTACH]n1386826[/ATTACH]
The XML File for the custom group is here:
[ATTACH]n1386827[/ATTACH]
You will have to remove the .txt from the files (Required to upload) I have not figured out a way to deal with all the punctuation characters (mostly to show the user on the keyboard) I could make the keyboard larger but that seems kludgey. I might have to create graphics to represent but that is for another day.
I hope others find this useful. I also have not written an event or script to clear the text in the device after x period of time.
Comment