B4J Question autocomplete for textarea

xulihang

Active Member
Licensed User
Longtime User
Hi,

I want to give spelling suggestions when users input multiline information in a textarea.

I searched the forum and find there are two solutions on autocomplete. One is using the extended textfield that controlfx provides. One is using a searchview.

The popup way that controlfx provides is more suitable. But I find it difficult for me to adapt the java code to a textarea.

I find another simple way, which is using contextmenu, see: https://gist.github.com/floralvikings/10290131, which can be done using the code here: https://www.b4x.com/android/forum/threads/question-about-context-menus.44373/#post-270557

If someone has a better solution, I'd really appreciate that.
 
Top