Solved How to copy/paste in a TextField?
-
I am working on an android application. In it I use several text fields for the entry of different data, but in none of them I am allowed to copy / paste. I do long press, but nothing happens. What I can do?
This is the code of my TextFields:TextField { id: textField Layout.fillWidth: true verticalAlignment: TextInput.AlignVCenter horizontalAlignment: TextInput.AlignHCenter placeholderText: "Some Text" anchors.horizontalCenter: parent.horizontalCenter }
How can I make the next button to pass the next text field on the android virtual keyboard?
-
@Blaster said in How to copy/paste in a TextField?:
How can I make the next button to pass the next text field on the android virtual keyboard?
this should do what you want:
Keys.onReturnPressed: myNextTextField.forceActiveFocus()
-
@Blaster said in How to copy/paste in a TextField?:
I am working on an android application. In it I use several text fields for the entry of different data, but in none of them I am allowed to copy / paste. I do long press, but nothing happens. What I can do?
works for me
what Android Version ?
Device ?
your virtual keyboard ? (I'm using BlackBerry Keyboard for Android) -
@ekkescorner said in How to copy/paste in a TextField?:
@Blaster said in How to copy/paste in a TextField?:
I am working on an android application. In it I use several text fields for the entry of different data, but in none of them I am allowed to copy / paste. I do long press, but nothing happens. What I can do?
works for me
what Android Version ?
Device ?
your virtual keyboard ? (I'm using BlackBerry Keyboard for Android)My intentions are that the next button appears in the virtual keyboard, but that would work for me. I am developing it from android 4.4, that is, API 19 .. thanks ... right now I'm testing it.
-
Can someone tell me how to copy and paste?