Matteo Granatiero Active Member Licensed User Oct 21, 2018 #1 Set the start scroll ScrollView from the end of the list, that is "on the contrary". To be clearer I would like the listview to scroll from bottom to top
Set the start scroll ScrollView from the end of the list, that is "on the contrary". To be clearer I would like the listview to scroll from bottom to top
Semen Matusovskiy Well-Known Member Licensed User Oct 21, 2018 #2 Let's say the name of ScrollView is scrollviewInstance. After you completely filled a scrollview, add following code B4X: Sleep (1) scrollviewInstance.ScrollToNow (scrollviewInstance.Panel.Height - scrollviewInstance.Height) Upvote 0
Let's say the name of ScrollView is scrollviewInstance. After you completely filled a scrollview, add following code B4X: Sleep (1) scrollviewInstance.ScrollToNow (scrollviewInstance.Panel.Height - scrollviewInstance.Height)
Matteo Granatiero Active Member Licensed User Oct 21, 2018 #3 Semen Matusovskiy said: Let's say the name of ScrollView is scrollviewInstance. After you completely filled a scrollview, add following code B4X: Sleep (1) scrollviewInstance.ScrollToNow (scrollviewInstance.Panel.Height - scrollviewInstance.Height) Click to expand... the situation does not change, I would need this result because I have a scrollview in a form landscape Upvote 0
Semen Matusovskiy said: Let's say the name of ScrollView is scrollviewInstance. After you completely filled a scrollview, add following code B4X: Sleep (1) scrollviewInstance.ScrollToNow (scrollviewInstance.Panel.Height - scrollviewInstance.Height) Click to expand... the situation does not change, I would need this result because I have a scrollview in a form landscape
Semen Matusovskiy Well-Known Member Licensed User Oct 21, 2018 #4 Orientation is not important. Try attached project (orientation of activity is landscape) Or do you mean HorizontalScrollView ? Attachments test.zip 7.8 KB · Views: 139 Last edited: Oct 22, 2018 Upvote 0
Orientation is not important. Try attached project (orientation of activity is landscape) Or do you mean HorizontalScrollView ?
Matteo Granatiero Active Member Licensed User Oct 21, 2018 #5 Semen Matusovskiy said: Let's say the name of ScrollView is scrollviewInstance. After you completely filled a scrollview, add following code B4X: Sleep (1) scrollviewInstance.ScrollToNow (scrollviewInstance.Panel.Height - scrollviewInstance.Height) Click to expand... now I try again and it works, but I did not put it in Activity created but in a Button_Click Thank youu. Upvote 0
Semen Matusovskiy said: Let's say the name of ScrollView is scrollviewInstance. After you completely filled a scrollview, add following code B4X: Sleep (1) scrollviewInstance.ScrollToNow (scrollviewInstance.Panel.Height - scrollviewInstance.Height) Click to expand... now I try again and it works, but I did not put it in Activity created but in a Button_Click Thank youu.
Erel B4X founder Staff member Licensed User Longtime User Oct 22, 2018 #6 Don't use ScrollView. Use xCustomListView instead. Upvote 0