Dec 24, 2014 Replies: 49 This class is similar to B4A SearchView class. It allows the user to filter a list of items based on a term (prefix matches first followed by other matches). It uses the new RichString class to highlight the matching terms. Note that the scrolling and filtering performance in release mode are very good. It can be a bit jumpy in debug mode. New version of SearchView is now available. It is implemented as a custom view. It also properly handles the keyboard state. Attachments SearchView.zip SearchView.zip 7.5 KB · Views: 342 Last edited: Feb 1, 2016 Click to expand...
This class is similar to B4A SearchView class. It allows the user to filter a list of items based on a term (prefix matches first followed by other matches). It uses the new RichString class to highlight the matching terms. Note that the scrolling and filtering performance in release mode are very good. It can be a bit jumpy in debug mode. New version of SearchView is now available. It is implemented as a custom view. It also properly handles the keyboard state.
Erel B4X founder Staff member Licensed User Longtime User Oct 6, 2016 #41 You don't need the label at all.
P PaulusPaulus Member Licensed User Longtime User Oct 24, 2016 #43 Hi I find Searchview very powerful. However,with the example I am struggling to add a new EditText (et2) that will link with the existing "et" edit text. What I wanted is for when someone enters some keypess in et2 (eg space) then a character/word is entered into "et". I have spent ages trying to crack this. I have been unable to get a routine from the "Main" code module to affect "et". This happens whether I try adding a View, etc in the SearchView Class module or adding the control via Designer. Any pointers/advice for this, please? Thanks.
Hi I find Searchview very powerful. However,with the example I am struggling to add a new EditText (et2) that will link with the existing "et" edit text. What I wanted is for when someone enters some keypess in et2 (eg space) then a character/word is entered into "et". I have spent ages trying to crack this. I have been unable to get a routine from the "Main" code module to affect "et". This happens whether I try adding a View, etc in the SearchView Class module or adding the control via Designer. Any pointers/advice for this, please? Thanks.
Erel B4X founder Staff member Licensed User Longtime User Oct 25, 2016 #44 Make et a public variable and then access it with: Code: Copy SearchView1.et.Text = "abc"
P PaulusPaulus Member Licensed User Longtime User Oct 25, 2016 #45 Erel said: Make et a public variable and then access it with: Code: Copy SearchView1.et.Text = "abc" Click to expand... Thank you Erel! One day they will sing songs about you ...
Erel said: Make et a public variable and then access it with: Code: Copy SearchView1.et.Text = "abc" Click to expand... Thank you Erel! One day they will sing songs about you ...
GGSoft Member Licensed User Longtime User Jan 31, 2017 #46 narek adonts said: I have updated Erel's SearchView with using the iOS native SearchViewController (like in iMessage, Whatsapp, Viber,...) ... Click to expand... Great enhancement. Is it possible to show it in a language other than English, or I depend on Hosted Mac Builder? G.
narek adonts said: I have updated Erel's SearchView with using the iOS native SearchViewController (like in iMessage, Whatsapp, Viber,...) ... Click to expand... Great enhancement. Is it possible to show it in a language other than English, or I depend on Hosted Mac Builder? G.
GGSoft Member Licensed User Longtime User Jan 31, 2017 #47 GGSoft said: Great enhancement. Is it possible to show it in a language other than English, or I depend on Hosted Mac Builder? Click to expand... I found the answer: https://www.b4x.com/android/forum/threads/change-context-menu-of-clipboard.62861/#post-396927 Thanks, Erel and Narek. GGSoft
GGSoft said: Great enhancement. Is it possible to show it in a language other than English, or I depend on Hosted Mac Builder? Click to expand... I found the answer: https://www.b4x.com/android/forum/threads/change-context-menu-of-clipboard.62861/#post-396927 Thanks, Erel and Narek. GGSoft
David Meier Active Member Licensed User Longtime User Jun 17, 2017 #48 How can one change the font size of the list? Thanks David
Erel B4X founder Staff member Licensed User Longtime User Jun 18, 2017 #49 Modify AddItemsToList and add: Code: Copy rs.SetFont(Font.CreateNew(20), 0, rs.Text.Length) Before setting tc.Text.
Modify AddItemsToList and add: Code: Copy rs.SetFont(Font.CreateNew(20), 0, rs.Text.Length) Before setting tc.Text.
David Meier Active Member Licensed User Longtime User Jun 19, 2017 #50 Erel said: Modify AddItemsToList and add: Code: Copy rs.SetFont(Font.CreateNew(20), 0, rs.Text.Length) Click to expand... Thank you Erel!
Erel said: Modify AddItemsToList and add: Code: Copy rs.SetFont(Font.CreateNew(20), 0, rs.Text.Length) Click to expand... Thank you Erel!