Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

TextBox.AcceptsReturn conflict with InputMethod.IsInputMethodEnabledProperty for touch screen

$
0
0

Hi,

My wpf application run on win 7  embedded, the computer has a touch screen.

in order to disable on-screen keyboard icon from my application, I set InputMethod.IsInputMethodEnabledProperty to false for textbox; for some multiline textbox I need turn on AcceptsReturn to accept Enter key.

the problem is it does not work on win 7 embedded with touch screen (tablet), "Enter" seems been ignored, it will not generate a new line on multiline textbox, also not trigger default button if AcceptsReturn=false

is there any other way to disable on-screen keyboard icon and accept the "Enter" key?

Best regards,

Huan


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>