01-11-2018 12:15 PM
Dear All,
I'm working on application, which is going to be run on Windows tablet. The problem is that LabVIEW objects are not recognized by Windows, and the keyboard is not opening automatically.
There are many posts from different years in this regards, but none of them is much useful.
I tried to call TabTip.exe on mouse down event, for the controls which need data entry, but the problem is that after the the keyboard is opened, it loses its focus. The second problem, is that it is not possible to close the TabTip programmatically.
Does anybody have suggestions on how to do data entry on Windows tablets.
Thanks,
Arev
CTO | RAFA Solutions
01-11-2018 01:09 PM
Have your tried OSK.exe instead of TabTip?
01-11-2018 01:13 PM
01-11-2018 04:52 PM
No. I just tested.
If you launch OSK, your won't lost focus; however, if OSK is already launched, you will lost focus.
Tested with LabVIEW 2014 on Win7 Pro.
01-12-2018 10:32 AM
It should be easy to get the window focus and control key focus back.
See attached VI.
By the way, TabTip is more like a service than an application.
Don't stop it.
01-12-2018 10:54 AM
Hello George,
Thank you for the research and resulting VI.
I'm also using property node to set the focus back. But that is not the best idea, as I don't want the focus rectangle to be visible.
But seems there is not other way. It is strange that NI still has no any proper support of touch screen devices.
Thanks,
Arev
CTO | RAFA Solutions
01-12-2018 02:41 PM
I don't see a focus rectangle for string or path.
What's the data type of your control?
01-12-2018 03:08 PM
Hi George,
Seems its an issue with classic palette controls. I used string control for my tests, but I'll change my palette.
Thank you for your help.
Thanks,
Arev
CTO | RAFA Solutions
04-22-2020 04:54 AM
Hi,
have a look at this:
Lars