In cases where there are no particular features for a given B4XView, it is necessary to cast it and obtain the native View (the EditText in B4A, in B4i... I don't know, I don't have it).
Once you have the EditText apply the input mask to it.
thank's everyone
i just use B4XFloatTextField with keyboardtype = numbers but i need format also
for example i need as format "##" because i need 0 to 99 numbers in this file
or
i set keyboardtype = text and i need format as "xxx-xxxxxxxxxxx-##"
now i use maskededittext library but is is not compatible for crossplattform project
i want make a simply app compatible with B4a and B4I
thank's everyone
i just use B4XFloatTextField with keyboardtype = numbers but i need format also
for example i need as format "##" because i need 0 to 99 numbers in this file
or
i set keyboardtype = text and i need format as "xxx-xxxxxxxxxxx-##"
now i use maskededittext library but is is not compatible for crossplattform project
i want make a simply app compatible with B4a and B4I
In that project XUI Views is not selected, although the B4XFloatTextField is in the layout; I probably copied it from a B4A layout (maybe, I don't know why it is there!). It wasn't a project, of course, it was a test to "better" answer this thread's question.
This EditText fixes a few issues with the standard EditText and adds new features: - Filter: you can transform any input before the text is changed; - Mask: you can define an input mask; - Read-only: you can protect your EditText against changes; - Floating hint: the hint moves above the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.