Android Question BarButtonClick Event will not fire.

mmieher

Active Member
Licensed User
Longtime User
I cannot get the BarButton Click event to fire. Not sure what is wrong. I used Designer to create a Top Right Button "DONE" with tag "DONE".

B4X:
Sub bAbout_Click
   
    DisableMainView

    fAbout = True
   
    About.Initialize("About")
    NavControl.ShowPage(About)

End Sub

Sub About_Appear
   
    Msgbox("Appear","")
   
End Sub

Sub About_Disappear
   
    Msgbox("Disappear","")
   
End Sub

Sub About_BarButtonClick (Tag As String)

    Msgbox(Tag,"")

End Sub
 

mmieher

Active Member
Licensed User
Longtime User
I must have accidently posted in wrong forum. This is B4i, not B4a.

I figured it out anyway. This is my first B4i app and I copied a bunch of code from B4a. I had my layouts dim'd as Panel instead of Page. Duh!
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…