PDA

View Full Version : Is it possible to make an on-screen keyboard?



irix
10-15-2009, 07:43 AM
Hi all,

I've tried to make a fill-in form for a touch screen, so the keyboard needs to be on-screen.
So I created buttons, each with a letter and some input fields.
Then for scripting I tried this:

Q: Input.SetText("Input1", "Q");
W: Input.SetText("Input1", "W");

and so on, but it doesn't add, it replaces the text within input1.

Is it possible to make the buttons function as on screen keyboard? Or is there any other possible solution for this?

Thanks.

Samio
10-15-2009, 08:24 AM
Hi.
Input.SetText("Input1", Input.GetText("Input1").."Q")

irix
10-15-2009, 08:29 AM
Hi.
Input.SetText("Input1", Input.GetText("Input1").."Q")

Hey,

This is great, thanks!
But I guess this will only work for Input1 so what would be the best option, just make a bunch of pages (copy them all) one for name, one for address and so on (it should mail the whole form to a certain mail address at the end) or isn't it so simple, as the input disappears after a page change.

Or should I just make one large input field and ask people to just write down their address there and send just this whole input field through email.

Scriptonite
10-16-2009, 10:28 AM
See this thread:
http://www.indigorose.com/forums/showthread.php?t=27034&highlight=LuaCom+Keyboard

irix
10-16-2009, 04:55 PM
Works great!