I am trying to use scrollview as follows
sub Class_Globals
Private ScrollView1 As B4XView
Code works fine in b4i but not b4a
i did remove
sub Class_Globals
Private ScrollView1 As B4XView
b4a gets error B4XMainPage - 73: Unknown member: panel
So my Private pnlScrollview As Panel is not working.
How can i use the scrollView as panel in b4a ?
Thanks for any help.
sub Class_Globals
Private ScrollView1 As B4XView
B4X:
#If B4A
Private pnlScrollview As Panel
Dim ScrollView1 As scrollview
ScrollView1.Panel.LoadLayout("ScrollViewLayout")
ScrollView1.Panel.Height = pnlScrollview.Height
#Else if B4J
xui.MsgboxAsync("None", "B4X")
#else if B4i
Private pnlScrollview As B4XView
pnlScrollview.IsInitialized
ScrollView1.ScrollViewInnerPanel.LoadLayout("scrollview")
ScrollView1.ScrollViewContentWidth = 100%x
ScrollView1.ScrollViewContentHeight = pnlScrollview.Height
i did remove
sub Class_Globals
Private ScrollView1 As B4XView
b4a gets error B4XMainPage - 73: Unknown member: panel
So my Private pnlScrollview As Panel is not working.
How can i use the scrollView as panel in b4a ?
Thanks for any help.