Click here to Skip to main content
15,886,137 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi All,

I have example project about WPF which run on Tablet(window 8.1).
I have 2 window(MainWindow and SettingWindow),
in MainWindow, I added list on the left(top) and one Button(btnSetting) on the Right(bottom).
in SettingWindow, I added 3 textbox(txtName, txtClass, txtAddress).
when click on button btnSetting-> SettingWindow is show(SettingWindow.show()).

There are some issue happen when SettingWindow is showed as following:
1. How to when user touch on textbox, the keyboard on tablet is show to user can input data to text boxs. I use event TouchDown but I must touch some time, keyboard is showed
-> I want when I touch on text box, the keyboard will be show on runtime.

2. when keyboard is showed, SettingWindow is push to above, but when user click on but [X] on keyboard(close keyboard) my SetingWindow is not go to previous position.
-> How to my window go back old position when keyboard is hide or close?



Please help me!

Thanks in advance!
Posted
Comments
Sergey Alexandrovich Kryukov 2-Jul-15 9:46am    
What is your on-screen (virtual) keyboard? Is it available, or you have your own one, or just going to develop it?
—SA
ngthtra 2-Jul-15 21:09pm    
I am using keyboard from TabTip.exe
Sergey Alexandrovich Kryukov 2-Jul-15 22:03pm    
I'm not familiar with this product. If you can show the keyboard at all, you can do it on Focused events mouse events on the text box. What's the problem with it.
And second issue is not clear. What is "old position", what changed?
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900