I Ilya G. Active Member Licensed User Longtime User Oct 15, 2020 #1 Hi, is it possible to wrap JFormattedTextField for B4J?
Erel B4X founder Staff member Licensed User Longtime User Oct 15, 2020 #2 This is a swing element. It will be less useful with B4J which is based on JavaFX framework.
I Ilya G. Active Member Licensed User Longtime User Oct 15, 2020 #3 Is there any view with similar functionality? i need to limit input to numbers only and output thousands separator
Is there any view with similar functionality? i need to limit input to numbers only and output thousands separator
Erel B4X founder Staff member Licensed User Longtime User Oct 15, 2020 #4 B4A solution: https://www.b4x.com/android/forum/threads/thousands-separator-while-typing.113686/post-709606 You can do something similar in B4J.
B4A solution: https://www.b4x.com/android/forum/threads/thousands-separator-while-typing.113686/post-709606 You can do something similar in B4J.
I Ilya G. Active Member Licensed User Longtime User Oct 15, 2020 #5 it is very inconvenient to edit that field because SelectionStart set to end of text
Erel B4X founder Staff member Licensed User Longtime User Oct 15, 2020 #6 GanjaKyp said: it is very inconvenient to edit that field because SelectionStart set to end of text Click to expand... Modifying the text while the user writes it is a good way to assure that the user experience will be very bad. Better to set the border to red or something like that. You can also change the text when the focus is lost and add the separators.
GanjaKyp said: it is very inconvenient to edit that field because SelectionStart set to end of text Click to expand... Modifying the text while the user writes it is a good way to assure that the user experience will be very bad. Better to set the border to red or something like that. You can also change the text when the focus is lost and add the separators.