Android Question Events of internal scrollview panel

Jhonn

Member
Hello, how to access to events for panel scrollview create with designer???

Add a ScrollView with the designer and the code access ScrollView1.Panel and events for internal panel of ScrollView1???
 

Jhonn

Member
When create a layout for the panel and load with ScrollView1.Panel.LoadLayout (this layout create with designer contains Panel1 view), and
B4X:
Log(ScrollView1.Panel.NumberOfViews)
returns 1. Panel contains another Panel1, then what Panel works in app? and try this
B4X:
ScrollView1.Panel = Panel1
but IDE logs "Propety is readonly"

Zorry my traslate, but im spanish, thanks
 
Last edited:
Upvote 0
Top