tufanv Expert Licensed User Longtime User Jun 28, 2022 #1 Hello, 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: B4X: Copy Public Sub lvscroll lv.AddSection("","") lv.ScrollTo(0,0,lv.SCROLL_TOP) End Sub Last edited: Jun 28, 2022
Hello, 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: B4X: Copy Public Sub lvscroll lv.AddSection("","") lv.ScrollTo(0,0,lv.SCROLL_TOP) End Sub