Hello,
I am using B4XDrawer for opening a drawer from lefthandside.
While I click the drawer for the first time after installation/compilation the drawer is working as expected. After that I click the menu option[CLV]
But If I click the drawer for the second time, the drawer is not working.
The below is the code base :
The menu I have added to the Drawer:
Please advice on this.
Thanks
I am using B4XDrawer for opening a drawer from lefthandside.
While I click the drawer for the first time after installation/compilation the drawer is working as expected. After that I click the menu option[CLV]
But If I click the drawer for the second time, the drawer is not working.
The below is the code base :
B4X:
drawer.Initialize(Me, "Drawer", Root, 300dip)
drawer.CenterPanel.LoadLayout("MainPage")
drawer.LeftPanel.LoadLayout("leftPage")
custMenu.AddTextItem(" Settings",0)
**********************************************
Sub lblDrawer_Click
drawer.LeftOpen=True
'lblDrawer.Enabled=True
End Sub
The menu I have added to the Drawer:
B4X:
Sub custMenu_ItemClick (Index As Int, Value As Object)
Select Index
Case 0
Root.LoadLayout("settings")
setCounter
End Select
End Sub
Please advice on this.
Thanks