Page 1 of 1

Make On screen keyboard with neobook

PostPosted: Tue Nov 10, 2015 4:11 am
by martincalatrava
Hi to all and good day. I would like to know how to make an screen keyboard por touch screen apps. I want to have into my app my own virtual keyboard.

How can be made? Any example?

My best regards

Re: Make On screen keyboard with neobook

PostPosted: Tue Nov 10, 2015 7:02 am
by Gaev
martincalatrava:

It can be done ... but requires a lot of work.

You create one NeoBook PushButton for each key ... and additional ones for Shift, Control and Alt functionality ... they would be like the CapsLock functionality on a real keyboard (i.e. each click of the mouse would toggle the functionality on or off ... the code in each PushButton would examine the toggle state and act accordingly i.e. send the keystroke combo to the [FocusedObject].

Re: Make On screen keyboard with neobook

PostPosted: Tue Nov 10, 2015 7:09 am
by martincalatrava
Thanks Gaev. Tried and works.

My best regards

Re: Make On screen keyboard with neobook

PostPosted: Tue Nov 10, 2015 9:34 am
by David de Argentina
Or...

Click on Start -> Run -> Osk -> accept.

My 0.01
David de Argentina9

Re: Make On screen keyboard with neobook

PostPosted: Tue Nov 10, 2015 12:41 pm
by dpayer
David de Argentina wrote:Or...

Click on Start -> Run -> Osk -> accept.

My 0.01
David de Argentina9


Actually David, that doesn't work as expected.

If you create a simple pub with a button with the action:
Code: Select all
Run "[SystemDir]osk.exe" "" "Normal" "" ""


and then run the app and click the button you will get an error: "Could not start On-Screen Keyboard"

There is something unique about the way windows handles that executable.

David P.

Re: Make On screen keyboard with neobook

PostPosted: Wed Nov 18, 2015 10:36 am
by mr cubefan
Hi dpayer!, i faced a similar problem 2 months ago and made a workaround thats still works on my kiosk machine (touchpanel embedded pc running win xp)
First downloaded Free Virtual Keyboard (from freevirtualkeyboard.com, a small exe) then execute the file via "RunInRectangle" command, put the rectangle object on front of all other objects with the "bring to front" option, that allow me to show or hide the rectangle with the keyboard on it with a button click, letting the user to decide if use or not the osk. Besides the rectangle, being a part of my app, it always stay on the same spot.
i wasn`t happy with the windows built in osk, because the osk always appear on a floating window blocking my app gui. If the user decide to minimize the windows osk it couldn`t be maximized again.
Regards!

Re: Make On screen keyboard with neobook

PostPosted: Wed Nov 18, 2015 11:27 am
by dpayer
mr cubefan wrote:Hi dpayer!, i faced a similar problem 2 months ago and made a workaround thats still works on my kiosk machine (touchpanel embedded pc running win xp)
First downloaded Free Virtual Keyboard (from freevirtualkeyboard.com, a small exe)
Regards!


I'm curious. Does this app put the info in the same buffer as the normal keyboard? Would a keystroke logger be able to grab the input?

Re: Make On screen keyboard with neobook

PostPosted: Wed Nov 18, 2015 11:39 am
by mr cubefan
Hi dpayer!, its seems the app uses the same buffer.

Re: Make On screen keyboard with neobook

PostPosted: Thu Nov 19, 2015 11:29 am
by CN_Iceman
Very interesting the Free Virtual Keyboard, thanks.