May 26, 2016 Replies: 6 Hello, I found the autoCompleteText function from controlsFX library a bit too slow, so I wrote this class. This class can be attached to any control, is very fast, and is based on the Levenshtein Distance algorithm. You can use the UP/DOWN arrows to select the text, then press ENTER to validate. If the text doesn't exist in the list, it will return the new text. Comment & critics welcomed! Jmon Edit: Attached the jar & xml compiled library. Click to expand... Attachments QuickTextSelect.zip QuickTextSelect.zip 6.6 KB · Views: 1,035 jQuickTextSelect.zip jQuickTextSelect.zip 7.7 KB · Views: 1,064 Last edited: May 27, 2016 Click to expand...
Hello, I found the autoCompleteText function from controlsFX library a bit too slow, so I wrote this class. This class can be attached to any control, is very fast, and is based on the Levenshtein Distance algorithm. You can use the UP/DOWN arrows to select the text, then press ENTER to validate. If the text doesn't exist in the list, it will return the new text. Comment & critics welcomed! Jmon Edit: Attached the jar & xml compiled library. Click to expand...
jmon Well-Known Member Licensed User Longtime User May 26, 2016 #2 Forgot to mention that you need this library: https://www.b4x.com/android/forum/threads/transitions-and-animations-libraries.43136/
Forgot to mention that you need this library: https://www.b4x.com/android/forum/threads/transitions-and-animations-libraries.43136/
giga Well-Known Member Licensed User Longtime User May 26, 2016 #3 Good Work jmon! I will give it a try.
jmon Well-Known Member Licensed User Longtime User May 27, 2016 #4 I attached the compiled library in the first post.
A AHilton Active Member Licensed User Longtime User Feb 21, 2017 #5 I'm not getting a scroll of the list with the up or down arrow keys.
gyulaszabo New Member Licensed User Longtime User Feb 21, 2017 #6 What did I do wrong ? B4J version: 4.70 Parsing code. Error Error parsing program. Error description: Unknown type: reflector Are you missing a library reference? Occurred on line: 60 (QuickTextSelect) Dim Obj As Reflector
What did I do wrong ? B4J version: 4.70 Parsing code. Error Error parsing program. Error description: Unknown type: reflector Are you missing a library reference? Occurred on line: 60 (QuickTextSelect) Dim Obj As Reflector
Erel B4X founder Staff member Licensed User Longtime User Feb 21, 2017 #7 You need to download jReflection library and check it in the libraries tab.