Private Sub pMain_CloseRequest As ResumableSub
If drawer.LeftOpen Then
drawer.LeftOpen = Not(drawer.LeftOpen)
Return False
Else
Return True
End If
End Sub
But it does not fire the event. Using 1.03 B4X Pages library
The event name should be B4XPage_CloseRequest. All B4XPAges events are prefixed by B4XPage. B4XPages routes them to the foreground page or all the pages as needed.