Android Question [SOLVED] [B4XPages] Insert button on titlebar

makis_best

Well-Known Member
Licensed User
Hi.

Witch one is the best way to add a button on title bar when using B4XPages?

Thank you.
 

oparra

Well-Known Member
Licensed User
??


B4X:
Dim mi As B4AMenuItem = B4XPages.AddMenuItem(Me, "Main 2")
mi.AddToBar = True
mi.Bitmap = xui.LoadBitmapResize(File.DirAssets, "image.png", 64dip, 64dip, True)

B4XPage_MenuClick (Tag As String)

B4J
MenuBar1_Action
 
Last edited:
Upvote 0
Top