cancel
Showing results for 
Search instead for 
Did you mean: 

Multi line keyboard

RMoha.2
Associate II

What's the possibility of enabling a keyboard that can enter multiple lines text? Like in a chat app when a message can be compromised from multiple line.

The provided keyboard example does not contain the "Enter" key

4 REPLIES 4
Romain DIELEMAN
ST Employee

Hi,

Your question is kind of difficult to answer to. If it is possible to have a keyboard with multiple line and an "Enter" key, the answer is yes.

What you can do is adapt the code of the Keyboard widget or to create a new widget inspired from it. You can add an extra key in the key mapping with the resulting event you want: to move the text up like if you just sent a text in a chat.

/Romain

I might work on a demo based on the keyboard widget soon if I find the time since a lot of people have asked on how to adapt the keyboard widget to their project needs

@Romain DIELEMAN​  Sorry for making the question hard to answer to, you answered it to the point though. I was trying to make sure that I have to make the changes myself in order to achieve the Multi-lines text feature. Looking forward to your Demo if comes available.

@Romain DIELEMAN​  were there any demo generated? Thanks