B4i Tutorial BarButton icons - Erel    Dec 15, 2016   (1 reaction) Sub
Private Sub CreateFABarButton(text As String, tag As Object) As BarButton
Dim bb As BarButton
Dim b As Button
b.InitializeCustom("BarButton", 0xFF007AFF, 0xFFE3EBF4)
b... as the default bar buttons are not vertically aligned when using icons.
The solution is to add them in... B4i Question SetBadge in BarButton - MarcoRome    Mar 1, 2018 Hi all is possibile set SetBadge in BarButton.
i tried with:
Dim b1 As BarButton
b1.InitializeBitmap(KeepOriginalColors(LoadBitmap(File.DirAssets, "cart.png")), "left"... B4i Question BarButtons and "Exit" application by setting it to background - hatzisn    Sep 5, 2022 Good 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... B4i Question [B4XPages] BarButton Image in Navbar goes in center - Mike1970    Jun 9, 2022 Hi everyone,
I'm trying to put a BarButton in right of the navbar with an image...
i used... CreateFABarImg(sFile As String, tag As Object) As BarButton
Dim bb As BarButton
Dim b As ImageView... B4i Question BarButton text change - klaus    Nov 2, 2014 Does there exist an easy way to change the text of a BarButton.
Example: Filter > UnFilter > Filter... B4i Question Barbutton image color - mrossen    Mar 29, 2015 How 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... B4i Code Snippet Barbutton events - bobbruns    Sep 8, 2021   (1 reaction) Just a reminder that the event caused by pressing the iphone barbuttons using B4Xpages is now: Private Sub B4XPage_MenuClick (Tag As String) Log(Tag) End Sub The old way: Private Sub BarButton_Click Dim b As Button = Sender Log("Toolbar Click Tag = " & b.Tag) End Sub no longer works. The old way is shown on many posts in the forum. The Documentation for this in B4xPages is correct, but does not contain examples I could find. Side note: This forum is great, I find... B4i Question Change Navigation BarButton Color - Mike1970    Sep 11, 2018 Hi,
It's possible to change the color of the navigation barbutton (the three lines in the corner)
by default is blue, i want it white
Thanks
72132... B4i Question Problem adding barbuttons (spacing) - DBernaert    Oct 1, 2023 .
Dim bb As BarButton
bb.InitializeBitmap(GeneralRoutines.KeepOriginalColors(LoadBitmapResize(File...)
Dim bb2 As BarButton
bb2.InitializeBitmap(GeneralRoutines.KeepOriginalColors(LoadBitmapResize(File... B4i Question BarButton Icon - Emme Developer    Jul 25, 2017 Hi to all! I'm trying to add an info icon, but i have some issue.
Dim bb As BarButton....Enabled = True
bb.TintColor = 0xFFED7B53
mpa.TopRightButtons = Array As Object(bb)
icon is 25 x 25 and this is result
58051
Icon is not centered
Dim bb As BarButton
bb... Page: 1   2   3   4   5   6   7   |