I have two EditText views. The keyboard shows "Next" on the Title as expected. When the focus jumps to the Description the keyboard shows the return button. I have tried fixing this in Designer and have tried fixing it with code ( DescTxt.ForceDoneButton = True ) but nothing works. It seems that it should be simple but it is driving me crazy. I have tried every combination of properties in the two text views but nothing works. Any suggestions would be appreciated. Thanks!
Greetings, In my EditText field from the Designer, I have the "Force Done" property set. The "Done" button is not displayed on the virtual keyboard. Instead, the "Newline" button is displayed. Is there a way using coding to force the "Done" button to be displayed? Thanks.
Interesting. The only difference is you have TitleTxt as B4XView, I have TitleTxt as EditText. If I change to B4XView then you cannot use:
TitleTxt.InputType = Bit.Or(TitleTxt.InputType, 8192), it is invalid. Same with DescTxt.
Greetings, In my EditText field from the Designer, I have the "Force Done" property set. The "Done" button is not displayed on the virtual keyboard. Instead, the "Newline" button is displayed. Is there a way using coding to force the "Done" button to be displayed? Thanks.
The point of posting the link to that thread was to make you aware that when an edittext is checked as Multiline,
it seems difficult to force the Done button.
The point of posting the link to that thread was to make you aware that when an edittext is checked as Multiline,
it seems difficult to force the Done button.
You need to use the EditText-Reference to use that. It does not work with b4xview.
It is easy to get the EditText-Reference from a b4xview and change the Inputtype.