Android Question keyboard "Return" key

Prosg

Active Member
Licensed User
Longtime User
Hello,

I use

B4X:
 oIME.showKeyboard(txtPointsForts)

to show the keyboard for my editText (no singleline) but i don't know how to add the "Return" key in the keyboard ?

ty
 

Prosg

Active Member
Licensed User
Longtime User
:eek: strange cause it doesn't appear

my code is :

B4X:
lblTitre.Text ="Mes points forts"
txtPointsForts.Initialize("txtTitrePointsForts")
txtPointsForts.SingleLine = False
txtPointsForts.Gravity = Gravity.TOP
txtPointsForts.Text = result
Activity.AddView(txtPointsForts,0%x,10%y, 100%x, 100%y)
InpTyp.SetInputType(txtPointsForts,Array As Int(InpTyp.TYPE_CLASS_TEXT,InpTyp.TYPE_TEXT_FLAG_CAP_SENTENCES))
oIME.showKeyboard(txtPointsForts)

Edit if i comment this line
'InpTyp.SetInputType(txtPointsForts,Array As Int(InpTyp.TYPE_CLASS_TEXT,InpTyp.TYPE_TEXT_FLAG_CAP_SENTENCES))

it's works

any idea why ?
 
Last edited:
Upvote 0
Top