I use this code
I would like to load only a control (panel) of form2 into the Scroll.Panel
B4X:
Private scroll as ScrollView
scroll.Panel.LoadLayout("form2")
scroll.Panel.Height = 230%y