davepamn Active Member Licensed User Longtime User Jun 15, 2015 #1 I am looking for a maxlength property to set on a textbox. Is edit box maxlength set by api or by event down character counting? Last edited: Jun 15, 2015
I am looking for a maxlength property to set on a textbox. Is edit box maxlength set by api or by event down character counting?
DonManfred Expert Licensed User Longtime User Jun 15, 2015 #2 davepamn said: Is edit box maxlength set by api or by event down character counting Click to expand... event down character counting. There is no api. But maybe there is a library which replaces the normal edittext with a custom one. Maybe you can limit the length with this library. Upvote 0
davepamn said: Is edit box maxlength set by api or by event down character counting Click to expand... event down character counting. There is no api. But maybe there is a library which replaces the normal edittext with a custom one. Maybe you can limit the length with this library.
davepamn Active Member Licensed User Longtime User Jun 15, 2015 #4 It seems like an attribute called maxlength should be made available. B4X: Sub txtGrower_TextChanged (Old As String, New As String) If New.Length>4 Then txtGrower.Text=Old end sub Upvote 0
It seems like an attribute called maxlength should be made available. B4X: Sub txtGrower_TextChanged (Old As String, New As String) If New.Length>4 Then txtGrower.Text=Old end sub
lemonisdead Well-Known Member Licensed User Longtime User Jun 15, 2015 #5 davepamn said: maxlength Click to expand... There is a SetLengthFilter in the IME library. Perhaps could it help ? Upvote 0
davepamn said: maxlength Click to expand... There is a SetLengthFilter in the IME library. Perhaps could it help ?