At the start Panel3 is not visible (from UI designer)
If I do:
When I set Panel3.Visible = true and Panel3.Bringtofront I correctly see:
If I do:
I still have correct result. But I f I do:
Listview6 remain empty. What could be ?
Thank you
If I do:
B4X:
Sub Process_Globals
...
...
Private ListView6 As TableView
...
end sub
Private Sub Application_Start (Nav As NavigationController)
ListView6.Initialize("ListView6", False)
Panel3.AddView(ListView6, 0, 0, 100%x, 100%y)
end Sub
...
...
during resize:
Panel3.Width=Panel1.Width 'Addizionali
Label2.Top=0
Label2.Left=0
Label2.Width=Panel3.Width
ListView6.AddSingleLine("rrrrrrrrrr")
ListView6.AddSingleLine("aaaaa")
ListView6.AddSingleLine("fffffffff")
ListView6.Left=0
ListView6.Top=Label2.Height
ListView6.Width=Panel3.Width
ListView6.Height=Panel3.Height
When I set Panel3.Visible = true and Panel3.Bringtofront I correctly see:
B4X:
rrrrrrrrrr
aaaaa
fffffffff
If I do:
B4X:
Panel3.Width=Panel1.Width 'Addizionali
Label2.Top=0
Label2.Left=0
Label2.Width=Panel3.Width
ListView6.Left=0
ListView6.Top=Label2.Height
ListView6.AddSingleLine("rrrrrrrrrr")
ListView6.AddSingleLine("aaaaa")
ListView6.AddSingleLine("fffffffff")
ListView6.Width=Panel3.Width
ListView6.Height=Panel3.Height
I still have correct result. But I f I do:
B4X:
Panel3.Width=Panel1.Width 'Addizionali
Label2.Top=0
Label2.Left=0
Label2.Width=Panel3.Width
ListView6.Left=0
ListView6.Top=Label2.Height
ListView6.Width=Panel3.Width
ListView6.AddSingleLine("rrrrrrrrrr")
ListView6.AddSingleLine("aaaaa")
ListView6.AddSingleLine("fffffffff")
ListView6.Height=Panel3.Height
Listview6 remain empty. What could be ?
Thank you