Gianni Sassanelli Active Member Licensed User Longtime User Aug 1, 2018 #1 Hi i don't use ForceDone property with MultiLine EditText. Is possible to do this? If i set SingleLine property to TRUE, Done button appear If i set SingleLine property to FALSE Done button is not visible on keybord on screen thank's
Hi i don't use ForceDone property with MultiLine EditText. Is possible to do this? If i set SingleLine property to TRUE, Done button appear If i set SingleLine property to FALSE Done button is not visible on keybord on screen thank's
Erel B4X founder Staff member Licensed User Longtime User Aug 1, 2018 #2 Gianni Sassanelli said: If i set SingleLine property to TRUE, Done button appear If i set SingleLine property to FALSE Done button is not visible on keybord on screen Click to expand... This should be the default behavior unless there are several EditText views. Upvote 0
Gianni Sassanelli said: If i set SingleLine property to TRUE, Done button appear If i set SingleLine property to FALSE Done button is not visible on keybord on screen Click to expand... This should be the default behavior unless there are several EditText views.
Semen Matusovskiy Well-Known Member Licensed User Aug 1, 2018 #3 Following enables Ok button for SingleLine = False. Meanwhile Ok-button replaces Enter-button and this is not good B4X: Dim jo As JavaObject = edittextInstance jo.RunMethod ("setImeOptions", Array (6)) ' IME_ACTION_DONE jo.RunMethod ("setRawInputType", Array (1)) ' TYPE_CLASS_TEXT Last edited: Aug 1, 2018 Upvote 0
Following enables Ok button for SingleLine = False. Meanwhile Ok-button replaces Enter-button and this is not good B4X: Dim jo As JavaObject = edittextInstance jo.RunMethod ("setImeOptions", Array (6)) ' IME_ACTION_DONE jo.RunMethod ("setRawInputType", Array (1)) ' TYPE_CLASS_TEXT