Hi,
I want a multiline text input in my app. So I use B4XinputTemplate.
Multiline text is ready with dialog. But when I type text and press enter key, the dialog is close. I want enter key for new line in my input dialog and I click ok to close input dialog.
How can I do it in B4XinputTemplate?
I want a multiline text input in my app. So I use B4XinputTemplate.
B4X:
InputTemplate.Initialize
InputTemplate.TextField1.TextColor = XUI.Color_Black
InputTemplate.TextField1.SetTextAlignment("TOP", "LEFT")
InputTemplate.mBase.Height = 200dip
Dim et As EditText = InputTemplate.TextField1
et.SingleLine = False
et.Height = 150dip
Multiline text is ready with dialog. But when I type text and press enter key, the dialog is close. I want enter key for new line in my input dialog and I click ok to close input dialog.
How can I do it in B4XinputTemplate?
Last edited: