iOS Question B4XDrawer not working /showing in B4XPages

Tasyo28

Member
Licensed User
Hi,

Any idea why B4XDrawer in B4i is not working/showing using B4XPages? I'm using B4XDrawer v1.50 (class module)

B4X:
Private Sub B4XPage_Created (Root1 As B4XView)
    Root = Root1
    'load the layout to Root
   
    Drawer.Initialize(Me, "Drawer",Root, 300dip)
    Drawer.CenterPanel.LoadLayout("MainScreen")
    Drawer.LeftPanel.LoadLayout("leftMenu")
End Sub

Sub Button1_Click
    Drawer.LeftOpen = Not(Drawer.LeftOpen)
End Sub
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…