B4i Library [class] SearchView - Erel    
Feb 1, 2016   
(6 reactions)This class is similar to B4A SearchView class. It allows the user to filter a list of items based... good. It can be a bit jumpy in debug mode.
8SrYXQirXHY
New version of SearchView is now available...
link: Modify AddItemsToList and add:
rs.SetFont(Font.CreateNew(20), 0, rs.Text.Length)
Thank you Erel!...
link: Modify AddItemsToList and add:
rs.SetFont(Font.CreateNew(20), 0, rs.Text.Length)
Before setting tc...
link: How can one change the font size of the list?
Thanks
David...
B4A Library [B4X] [XUI] - MiniSearchView AutoComplete field - Erel    
Apr 11, 2024   
(43 reactions)A cross platform, compact version of SearchView.
68398
https://www.b4x.com/basic4android/images/SS-2018-05-29_15.27.50.png
https://www.b4x.com/basic4android/images/SS-2018-05-29_15.28.34.png
Usage instructions:
- Add a reference to MiniSearchView library.
- Add MiniSearchView custom views with the designer.
- Call MiniSearchView.SetItems to set the items.
You can change the various colors and the font in the designer.
Example and library are attached....
B4i Question Searchview Scroll to top - tufanv    
Jun 28, 2022Hello,
I want the list to scroll to top everytime searchview is loaded. In searchview module, I tried to set lv.scrollto but it needs a section (and row) to scroll to but I don't use sections there. Is there an easier way to scroll to top for this?
Best,
edit: I have managed to use this sub to call it from the main module to scroll to top:
Public Sub lvscroll
lv.AddSection("","")
lv.ScrollTo(0,0,lv.SCROLL_TOP)
End Sub
...
B4i Question searchview with richtstring problem - tufanv    
Sep 18, 2018Hello,
I am getting an error when I set the items of searchview with a list .I add two items manually to list and load the list with:
SearchView1.SetItems(listetakimlar)
I am getting this error:
Can it be a problem with the new b4i or ios12 ? Because it was working perfect beofre updating...
link: Problem seems to be resolved today. YEsterday when I closed the app it wasn't working. Sometimes I can't understand why some ...
link: Can you upload a project that demonstrates this issue?...
B4i Question SearchView and Event Page_Click - MarcoRome    
May 3, 2018If i have module SearchView and all work , but if i add this code
Sub pg_Click
pg.ResignFocus
End Sub
or this sub
Sub pg_Click
'pg.ResignFocus
End Sub
the event sv_ItemClick(Value...
link: This is good solution. ;)...
link: Hi Filippo, yes this is clear, i have already solved by adding a button on the keyboard to close it....
link: That's because it's like B4a.
If a Panel_Click is present, all elements under Panel will not...
B4i Question Similar to searchview ( with pic ) - tufanv    
Apr 10, 2018Hello,
I am mainly using searchview to make users search between available items. For a new project , I want to add a picture to search results like imdb app. Every item will have a small picture near it so for each search item there will be a label and also a pic which needs to be filtered... searchview ? If yes , will it be fast and can you give some advices on how to do it ?
Thanks...
link: It shouldn't be complicated to do it. You will need to make a few changes in SearchView code...
B4A Library [B4X] SQLSearchView - SQLite based Search View - Erel    
Aug 15, 2021   
(22 reactions).
SearchView.BuildDatabase builds the database. Note that it uses MAX_LIMIT and... SearchView.LoadDatabase. The file is copied asynchronously.
The database is not small. For...
link: you load the layout:
SearchView.Initialize
SearchView.Resize(Root.Width/2,Root.Height/2) 'whatever...
link: that I did it something similar (for myself), modifying Erel's SearchView.
I haven't written...
link: . I've been studying your Searchview class, well trying to anyway, still a bit lost in the code...
B4i Question Searchview problem - tufanv    
May 4, 2016Hello,
I am using Erel's searchview. I added a public suıb clear which clears the et of serachview. There is no problem with that but if i cleat the et the list remains. For example I wrote...
link: ")
actlimansec.HideSearchView(True)
Else
End If
Log(Value)...
link: Call: et_TextChanged("", "") after you clear it....
link: In the original SearchView the following code raises the event:
Private Sub lv_SelectedChanged...
B4i Question searchview visible or removeviewfromparent - tufanv    
Jan 19, 2016Hello
I can't find anyway to make searchview visible false or remove it from parent. How can i do it ? Thank you...
link: SearchView is added to a panel. You can hide or remove the panel to hide SearchView....
B4i Question Searchview alpha - tufanv    
Jan 11, 2016Hello,
In searchview i cant change any propery of textview. For example in the module , there is :
Public Sub AddToParent(Parent As Panel, Left As Int, Top As Int, Width As Int, Height As Int)
Parent.AddView(et, Left, Top, Width, 40dip)
Parent.AddView(lv, Left, Top + et.Height, Width... of searchview. How can i fix this ?
TY...
link: Press ctrl + p (clean project) after you make the change and it will work fine....
Page: 1  
2  
3  
4  
5  
6  
7