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
 

DonManfred

Expert
Licensed User
Longtime User
You are talking about which library you are using?
What is a BarButton?

Even this does not look like an b4a-Code/Library
 
Upvote 0

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
Top