iOS Question No layout display

voxel

Member
Licensed User
Hello,
I just transferred some B4A code to B4I. I have a problem with this button event (on "screen1") which should display a window ("listFav") but it is not displayed. Thanks for your help.

B4X:
'This event will be called once, before the page becomes visible.
Private Sub B4XPage_Created (Root1 As B4XView)
    Root = Root1

    Root.LoadLayout("screen1")

End Sub

Private Sub Button_fav_Click
 
    ListFavori = xui.CreatePanel("")
    ListFavori.SetLayoutAnimated(0, 0, 0, 300dip, 300dip)
 
    ListFavori.LoadLayout("listFav")

End Sub
 
Last edited:
Top