Android Question Capturing Top Toolbar buttons

mmieher

Active Member
Licensed User
Longtime User
Erel,

I tried this from one of your old posts:

B4X:
Private Sub Application_Start (Nav AsNavigationController)
 NavControl = Nav
 Page1.Initialize("Page1")
 NavControl.ShowPage(Page1)Dim b1, b2 AsBarButton
 b1.InitializeText("Button1", "Button1")
 b2.InitializeText("Button2", "Button2")
 Page1.TopLeftButtons = Array(b1, b2)
End Sub

Sub Page1_BarButtonClick (Tag AsString)
 Log("BarButtonClicked: " & Tag)
End Sub

However, I do not have a TopLeftButtons property on my pages?
 

DonManfred

Expert
Licensed User
Longtime User
Does not look like an B4A Source...
 
Upvote 0
Top