作者:x将臣x | 来源:互联网 | 2022-12-14 19:40
I'm working on a non-touch device (regular PC...) with a keyboard. I've written a Windows 8 App, which includes TextBox.
我正在使用带键盘的非触摸设备(常规PC ......)。我写了一个Windows 8应用程序,其中包括TextBox。
I want to launch the Touch Keyboard, when the user uses a device without a keyboard (=Tablet/Phone). How can I test it?
当用户使用没有键盘的设备(=平板电脑/手机)时,我想启动触摸键盘。我该怎么测试呢?
I.e. when I use the Visual Studio simulator for Windows 8 and choose "taps" as the gesture, the virtual touch keyboard still won't popup. Is there any specific moment where Windows is using the keyboard automatically? I'd actually like to test the Touch Keyboard to check the InputScope (i.e. InputScope="Number") and the 'look of the app', when the keyboard pops up.
即当我使用Windows 8的Visual Studio模拟器并选择“点击”作为手势时,虚拟触摸键盘仍然不会弹出。 Windows是否有自动使用键盘的具体时刻?我实际上想要在键盘弹出时测试触摸键盘以检查InputScope(即InputScope =“数字”)和“应用程序的外观”。
If needed, my TextBox looks like this:
如果需要,我的TextBox看起来像这样:
Edit: The keyboard pops up now (I don't know why...). I've started the simulator and used "taps" as gesture and the keyboard didn't pop up. After restarting the simulator ~5 times, it pops up now, but the InputScope is not Number...
编辑:键盘现在弹出(我不知道为什么......)。我已经启动了模拟器,并使用“水龙头”作为手势,键盘没有弹出。重新启动模拟器~5次后,它会立即弹出,但InputScope不是数字...
1 个解决方案