rwblinn Well-Known Member Licensed User Longtime User Jan 11, 2016 #1 Hi, is there a way to enable/disable autocorrect for a specific edittext field? Something like B4X: edittext1.autocorrect = true|false Last edited: Jan 11, 2016
Hi, is there a way to enable/disable autocorrect for a specific edittext field? Something like B4X: edittext1.autocorrect = true|false
R rboeck Well-Known Member Licensed User Longtime User Jan 11, 2016 #2 Hi, i use this sub: B4X: Sub DisableSpellCheck(eT As EditText) eT.inputType=Bit.Or(eT.InputType, 524288) End Sub I hope, it helps! Reinhard Upvote 0
Hi, i use this sub: B4X: Sub DisableSpellCheck(eT As EditText) eT.inputType=Bit.Or(eT.InputType, 524288) End Sub I hope, it helps! Reinhard
Erel B4X founder Staff member Licensed User Longtime User Jan 11, 2016 #3 Or: B4X: Sub SpellCheck(et As EditText, Enable As Boolean) If Enable Then eT.inputType=Bit.Or(eT.InputType, 524288) Else et.InputType = Bit.And(et.InputType, Bit.Not(524288)) End Sub Upvote 0
Or: B4X: Sub SpellCheck(et As EditText, Enable As Boolean) If Enable Then eT.inputType=Bit.Or(eT.InputType, 524288) Else et.InputType = Bit.And(et.InputType, Bit.Not(524288)) End Sub