B4A Question Edittext max length - Fausto Loss    Nov 17, 2016 Hi,
I want to have an Edit Text with a Character limit of 20. So after 20 characters have been entered, stop the typing.
Dim IME As IME
Dim edtTest As EditText
edtTest.Initialize("")
IME.Initialize("")
IME.SetLengthFilter(edtTest, 20)
I've tried using the above code... B4A Code Snippet EditText Max Length - aeric    Feb 19, 2016 More shorter code compared to here
Example:
Sub Globals
Dim txtPIN As EditText
End Sub
Sub txtPIN_TextChanged (Old As String, New As String)
If New.Length > 6 Then
txtPIN.Text... B4A Question EditText max characters? - techknight    Nov 17, 2015 Is there a way to either set, or programmatically check the number of characters being entered durin... Wish EditText: Max text lenght - Fabio Vieira    Feb 19, 2020 I think it will be very useful if there was this property in the textbox object. I know it is possible to use the IME to do this, but it would be more practical if this property exists in the designer.... B4A Question EditText Max Characters Limit - msdeveloper    Nov 17, 2012 Is there a way to limit the number of characters a user can enter into EditText? In VB6 I would use the MaxLength property.... Italian EditText MAX - RobyLaga (first post)    Feb 15, 2019 Trovato, grazie a tutti quelli che mi hanno aiutato!!
Copio e riporto:
Sub Globals
Dim IME As IME
Dim edtTest As EditText01
End Sub
'Scrivere all'interno dell'Activity_Create quanto segue
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout... B4A Library [B4X] SD CustomKeyboard - Star-Dust (first post)    Jan 2, 2023 It's not a problem with my library. Follow this thread https://www.b4x.com/android/forum/threads/edittext-max-characters-limit.23409/post-265247... B4A Question customlistview loads max items and loads more when scroll tot bottom - m643    Dec 16, 2013   (1 reaction) Hi all,
I see in more and more apps that having a listview that loads for example 20 items and when you scroll down it loads another 20 items.
I am using now the customlistview class and that works great but I like the solutions that loads a max of items. I searched the forum but the only thing I found is the pull tot refresh class that is what I think simulair to this function. Unfortunately... B4A Question set max number of char in a edit text - klaus (first post)    Dec 17, 2018   (2 reactions) This might interest you: EditText max length.... Italian EditText - Jeffrey Cameron (first post)    Feb 14, 2019   (2 reactions) Welcome, Roby, you are posting in the English forum, there is a separate Italian forum: https://www.b4x.com/android/forum/forums/italian-forum.13/ As for your question, you should investigate the IME object (specifically the SetLengthFilter method): https://www.b4x.com/android/forum/pages/results/?query=edittext+max... Page: 1   2   3   4   5   6   7   |