I needed a TextEdit to behave as follows:
Multiline
Wrap text
Capitalize each sentence
Show "enter" button to allow new line in the TextEdit
After struggling a lot with this combination, I finally got it working. My biggest problem was that it always wanted to force the "Done" button, which I don't want - I need the "Enter" button.
This did the trick:
It took a lot of playing around to get to the right code (147457).
Is there a reference somewhere that gives the codes for all the different options?
Johannes
Multiline
Wrap text
Capitalize each sentence
Show "enter" button to allow new line in the TextEdit
After struggling a lot with this combination, I finally got it working. My biggest problem was that it always wanted to force the "Done" button, which I don't want - I need the "Enter" button.
This did the trick:
B4X:
Sub Activity_Resume
txtEditBox.InputType = Bit.Or(txtEditBox.INPUT_TYPE_TEXT, 147457)
End Sub
It took a lot of playing around to get to the right code (147457).
Is there a reference somewhere that gives the codes for all the different options?
Johannes