Hello this is the man with troubles again
who needs your help
In my custom control I like to implement a scroll view because the content of the controls panel is often higher then the height of the screen.
[CODE lang="b4x" title="I coded as followes in the page crate event" highlight="3,6,8,9"] ' mainpanel setup
pnl.Color=props.Get("MenuBackColor")
pnl.Width =mBase.Width : pnl.height=2*mBase.height
' add mscrollview to layout
scv.Initialize(mBase.height)
scv.Width = mBase.width
scv.Panel.AddView(pnl,0,0,pnl.Width,pnl.Height)
mBase.AddView(scv,0,0,mBase.Width,mBase.height)[/CODE]
And all content of the panels child views are pretty shown but only the part of the mbase height. I am not able to scroll down to the end of the panel.
What is going wrong?
Thank you in advance
stay well