Android Question Start with uppercase keyboard or after Enter pressed

Francisco Barbosa

Member
Licensed User
Longtime User
I am using Text Edit, with MultiLine = False, ie, accepts multiple lines. When the user presses Enter, automatically sets the next character to Uppercase (capital), however the Multiline property crashes.

Part of the code:
edtiText1.InputType = Bit.OR (editTex1t.INPUT_TYPE_TEXT, 4096)

Could you help me?
 

stevel05

Expert
Licensed User
Longtime User
Try this:

B4X:
editText1.InputType = Bit.Or(Bit.OR (1, 16384) ,131072)

The Multi line property is a flag (131072), which you are removing with the code you have.
 
  • Like
Reactions: eps
Upvote 0
Top