Hello guys,
how can i add some buttons in a scroll view?
i try so :
Dim ScrollView1 As ScrollView
Dim Button1 As Button
Activity.LoadLayout("main")
ScrollView1.Initialize(0)
ScrollView1.Panel.AddView(Button1,50,20,50,50)
When i run the programm i get this error:
The specified child already has a parent. You must call remoteview() on the child's parent first
But both the views aren't parented with. :sign0085:
how can i add some buttons in a scroll view?
i try so :
Dim ScrollView1 As ScrollView
Dim Button1 As Button
Activity.LoadLayout("main")
ScrollView1.Initialize(0)
ScrollView1.Panel.AddView(Button1,50,20,50,50)
When i run the programm i get this error:
The specified child already has a parent. You must call remoteview() on the child's parent first
But both the views aren't parented with. :sign0085: