Hello all, I have created 2 pages in B4X (MainPage and a MapPage). In the MainPage, I have a Scrollview loaded with a Designer Page as such :
On application start, I scroll down the scroll view to view contents inside the scrollview... then i jump to second page (MapPage). But when i go back to Mainpage (Where the scroll view is), How can i make the scroll view back to its content top position again?
I tried :
Private Sub B4xPage_Appear
ScrollView1.ScrollViewInnerPanel.Top=0 <------------ but this doesn't seems to work
End Sub
B4X:
ScrollView1.ScrollViewInnerPanel.LoadLayout("MainMenu")
ScrollView1.ScrollViewContentHeight=PnlMainmenu.Height
On application start, I scroll down the scroll view to view contents inside the scrollview... then i jump to second page (MapPage). But when i go back to Mainpage (Where the scroll view is), How can i make the scroll view back to its content top position again?
I tried :
Private Sub B4xPage_Appear
ScrollView1.ScrollViewInnerPanel.Top=0 <------------ but this doesn't seems to work
End Sub