Linking TextFields on Android with the 'Next' keyboard key
-
wrote on 17 May 2016, 21:09 last edited by Michael R. Taylor
Hello,
I am trialing Qt for Android development (completely new to Qt, normally I use Java/C#/Raw C++). I have a question. How do I "link" text fields in QML so that the Android keyboard will have the "Next" button such that focus will go to another text field when it's pressed? Kind of like a tab-order for Android.
Thank you,
Michael
-
Hello,
I am trialing Qt for Android development (completely new to Qt, normally I use Java/C#/Raw C++). I have a question. How do I "link" text fields in QML so that the Android keyboard will have the "Next" button such that focus will go to another text field when it's pressed? Kind of like a tab-order for Android.
Thank you,
Michael
wrote on 18 May 2016, 05:57 last edited by the_You could try to catch the key sequence and process to the next input field (eventFilter).
//edit
Maybe this link could help too
http://stackoverflow.com/questions/20090164/how-to-make-qml-tab-order-navigantion -
You could try to catch the key sequence and process to the next input field (eventFilter).
//edit
Maybe this link could help too
http://stackoverflow.com/questions/20090164/how-to-make-qml-tab-order-navigantionwrote on 18 May 2016, 07:35 last edited byThanks for the tip, but it doesn't seem to work on Android. The keyboard shows "Done" where I would like it to say "Next" for each text field.
Surly there's a way to do this for when there is a series of text fields that need to be filled in one after another.
-
wrote on 18 May 2016, 07:40 last edited by
My problem is very similar to this unsolved issue that I found: https://forum.qt.io/topic/60258/android-soft-keyboard-action-button/2
-
wrote on 30 May 2020, 06:35 last edited by
@Michael-R-Taylor said in Linking TextFields on Android with the 'Next' keyboard key:
https://forum.qt.io/topic/60258/android-soft-keyboard-action-button/2
I posted a new reply and I explained how I did it.