B4i Question topleftbutton problem - tufanv    
Feb 11, 2019.CreateMaterialIcons(22))
btn.TintColor=Colors.White
btnleftlist.Add(btn)
Page1.TopLeftButtons... the top left button with :
Dim btnleftlist As List
btnleftlist.Initialize
Dim btn...
link: I can't use a label or clasical button as a topleftbutton because it says :
-: unrecognized...
link: found the solution here:
https://www.b4x.com/android/forum/threads/barbutton-icons.74192/#content...
link: list and then set the topleftbutton to that list because as I know I cant use csbuilder for...
B4A Tutorial [B4X] B4XPages + B4XDrawer - Erel    
Sep 11, 2025   
(29 reactions), 32dip, 32dip, True) 'global B4XBitmap
#if B4i
Dim bb As BarButton
bb.InitializeBitmap(HamburgerIcon, "hamburger")
B4XPages.GetNativeParent(Me).TopLeftButtons = Array(bb)
#Else If B4J
Dim... B4J
Sub imgHamburger_MouseClicked (EventData As MouseEvent)
Drawer.LeftOpen = True
End Sub
#else...
Drawer.LeftOpen = Not(Drawer.LeftOpen)
End If
End Sub
#end if
Private Sub B4XPage_CloseRequest As ResumableSub
#if B4A
'home button
If Main.ActionBarHomeClicked Then...
B4i Question TopLeftButton TopRightButton in the title are not displayed - klaus (first post)    
Mar 31, 2018Yes!
Have a look at the UINavBar example program it contains three pages....
link: The beginning word (Page1) of the name of the procedure must match the name of the page?...
link: You need to use something like this:
' Page1 ToolBar buttons event routine
Private Sub...
link: Thanks for the advice, I learned how to create Top Right Buttons on the topbar. I successfully...
B4i Question Redisplay the back button after adding a TopLeftButton - dieterp (first post)    
Feb 3, 2016That did the trick. Many thanks Erel!...
link:
b1.InitializeText("abc", "abc")
page2.TopLeftButtons = Array(b1)
End Sub...
link: Is it possible to do the following:
1) Open a page, hide the back button and set a TopLeftButton...
B4i Question Page.TopLeftButtons Image Size - Gijsen (first post)    
Nov 8, 2015Thank you, this solution works great.
Also more flexible :)...
link: Use a ImageView and the InitializeCustom method:
Page1.TopLeftButtons = Array(ImageBarButton...
link: )
bbBack.TintColor = Colors.White
InfoPage.TopLeftButtons = Array(bbBack)
The button shows, the tag...
B4i Question SideMenu & TopLeftButton - ciginfo (first post)    
Jun 2, 2015Yes I did and it works fine with Isidemenu . Thank you...
link: Have you tried to define a list for the TopLeftButtons and add in this list a BarButton initialized...
link: a TopLeftButton with an other pictogram that opens a new page.
1°) How can I create the TopleftButton...
link: What happens when you call NavControl.ShowPage? If it doesn't work you can first remove the side...
B4i Question Problem resetting TopLeftButtons to default - klaus (first post)    
Dec 29, 2014   
(2 reactions)As a workaround, this code works:
Dim lst As List
lst.Initialize
Page2.TopLeftButtons = lst
...
link: Hi,
I use this code to replace the default TopLeftButton with a Stop button:
Dim b1 As BarButton...
B4i Question Menu with logo file - Picon (first post)    
Nov 20, 2025("1")
NavControl.ShowPage(Page1)
' Page1.TopLeftButtons = Array...,113)
Page1.TopLeftButtons = Array(bb)
NavControl.ToolBarVisible = True
End Sub... module, but when I want to refer to "TopLeftButtons":
Page2.TopLeftButtons = Array(bb... the "TopLeftButton" if the pages are managed differently than in the case I managed to modify (see the beginning of the message).
Why is it okay in one case:
Page1.TopLeftButtons = Array(bb)
and...
B4i Question Barbutton image color - mrossen    
Mar 29, 2015How do I keep the colors for the image I use in bar button
I know how to change it with:
Dim b1 As BarButton
b1.InitializeBitmap(LoadBitmap(File.DirAssets, "cruise.png"), "btn_cruise")
b1.TintColor = Colors.RGB(127,176,0)
Page1.TopLeftButtons = Array(b1)
But how can I keep the original colors.
If I dont use "b1.TintColor" the image went IOS blue
Mogens...
B4i Question BarButtons and "Exit" application by setting it to background - hatzisn    
Sep 5, 2022Good morning everyone, I am using this code to add and handle a BarButton
Sub AddOwnBackButton
Page1.HideBackButton = True
backbut.InitializeText("< Back", "GoBack")
Page1.TopLeftButtons= Array(backbut)
End Sub
Sub Page1_BarButtonClick (Tag As String)
If Tag = "GoBack" Then
If bShowingStartPurchase = True Then
ReloadOriginalLayout
bShowingStartPurchase = False
Else
If KeyboardHeight...
Page: 1  
2  
3  
4  
5  
6  
7