On Screen Keyboard - Forum

Forum Navigation
You need to log in to create posts and topics.

On Screen Keyboard

Anyone have any solutions for an on screen keyboard?

I'm sure for some it's obvious that the Windows OSK is not an option so I won't comment on that. I have used the Free Keyboard (FreeVK.exe) but I find issues trying to close it.

Here's my situation:

I have a ComboBox with a list of items and also a TextEntry with the same variable in order to input an item not listed in the ComboBox. When I tap on the TextEntry it becomes the focus object and the keyboard program will pop up. However the problem happens when I close the keyboard, the text entry becomes the focus again and the keyboard reopens. I've attempted RunInRectangle but when I bring up the Rectangle the keyboard is not visible until tapped or there's a mouse-over.

Any suggestions?

Tab Gain Focus

If "[Temp]" "<>" "1"
Open keyboard
SetVar "[Temp]" "1"
EndIf

Tab Lose Focus

SetVar "[Temp]" ""

mishem,
This didn't quite work as expected. The OSK kept reopening.
So what I did was add a hidden text entry object.

This is in my working text entry object:

Tab Gain Focus

If "[KBOpen]" "<>" "1"
Run "[PubDir]FreeVK.exe" "" "RunOnce+LoadComplete" "postkeyboard" "[AppID]"
SetVar "[KBOpen]" "1"
EndIf

Tab Lose Focus

IsAppRunning "[AppID]" "[AppRunningResult]"
If "[AppRunningResult]" "=" "False"
GotoLine "end"
EndIf
CloseApp "[AppID]" "ForceClose"
:end
SetVar "[KBOpen]" ""

In the Run action, subroutine "postkeyboard", I FocusObject on the hidden text entry field.
This forces the OSK to close and forces focus away from the working text entry.

It now appears to be working as intended. Thanks for the help.