how to change keyboard position change in windows 8 metro application when it is appear on focus on text box it always appear on the bottom of the screen. any one help ?
On Screen Keyboard will appear automatically when a text box got focus, we cannot control it from the app, you can look for events like Showing and Hiding: http://code.msdn.microsoft.com/windowsapps/keyboard-events-sample-866ba41c?
Related
For my UWP app (in C#) I'd like to have a button so that when the user presses that Button, the on-screen keyboard would open up in inking mode (i.e. where the user can start handwriting and have their handwriting recognized and turned into typed text input).
If I have a textbox and put the focus on the textbox then the on-screen keyboard opens up but in text mode. But what I want is to have it come up in inking mode right from the start, instead of bringing it up in text mode and have the user switch it to ink mode.
Anyone knows how can I go about doing this?
You need to have one of these supported Components of the Windows Ink platform.
There is also a sample, but keep in mind that a bunch of code is commented.
If you want to tie an event to a push of a button, you can for example switch the focus on that component when the button is pressed.
I have a very simple scenario where I can focus an editable text box, the cursor appears inside the field, bt the keyboard will not show.
I have replicated this in a small sample app (Windows Phone 8.1 - Universal App). Very easy to recreate.
Create an 8.1 universal app. In the MainPage for phone add a text box and a button. The code for the button just sets the textbox to NOT read only. The default state of the textbox is ReadOnly.
Run app, select edit and then select the field. Cursor is present and keyboard opens. Close app.
Failure scenario:
Open app, touch read only text field. Note: No cursor is in box as it is read only.
Select Edit button. Tap the text field. Cursor is focused into field, but keyboard does not appear. I have a sample app with this behavior.
Any Resolutions?
This is a known issue in Windows Phone 8.1 which is fixed in current builds of Windows 10 Mobile.
Unfortunately I don't see any good workarounds for this on Windows Phone 8.1 other than "don't do that". Instead of switching a TextBox into and out of IsReadOnly mode try swapping between two TextBoxes (or a TextBox and a TextBlock).
Just started develop an application in c# using winforms metro ui and I can't figure out how to use a metroscrollbar with a metro textbox. If i go under properties when selecting the textbox i can choose scrollbar but it shows the normal Windows form..
Please see the picture down below:
How can I use the Metro scrollbar instead of the normal scrollbar?
How to place/position an element just above the on-screen keyboard in windows phone application (Silverlight - C#) so that it looks like a part of keyboard. Also need to consider automatic scrolling done by windows when the keyboard is above the focused element.
No you cannot put any control above the On Screen Keyboard in WindowsPhone, the On Screen Keyboard is a system object, you cannot access it.
How can I disable the sliding effect on Windows Phone 8 when a user tap on textbox?
I've already resized the content on focus and lost focus having the title fixed, but however if i tap the last texbox the page slides up a little...
This is a way to completely disable this effect?
Thanks all