For i=0 To 9
Dim Panel1 As Panel
Dim pnlAllTrips As Panel
Dim lblMonth As Label
Dim lblYear As Label
Dim lblReturn As Label
Dim lblAmnt As Label
Panel1.Initialize("")
Panel1.LoadLayout("alltrips")
Panel1.Color = Colors.Transparent
ScrollView1.Panel.AddView(Panel1,10dip,px,100%x-20dip,60dip)
If i=0 Then
Panel1.Width=90%x
Else If i=1 Then
....