Italian B4X ScrollViewInnerPanel

Xela

Member
Licensed User
Salve

C'é un modo per scorrere velocemente tutti i figli (non i nipoti) in un B4x panel?

nella vecchia versione usavo scrollview:
For Each obj As View In svTown.panel
....
....
Next

Ora con la versione nuova questo non funziona:
For Each obj As View In pnlTown.B4X ScrollViewInnerPanel
....
....
Next

Grazie
 

LucaMs

Expert
Licensed User
Longtime User
A seconda di cosa ti serva:
B4X:
For i = 0 To svTown.Size - 1
    ' Dim xPnl As B4XView = svTown.GetPanel(i)
    ' Dim Item As CLVItem = svTown.GetRawListItem(i)
    ' Dim Value As obj = svTown.GetValue(i)
Next
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…