C Claude Brun Active Member Licensed User Longtime User Dec 6, 2019 #1 Hi, I use B4Xdrawer and I arrive to change the color of BarButton with this code Dim nx As NativeObject = NavControl Dim no As NativeObject =App nx.GetField("navigationBar").RunMethod("setTintColor:", Array(no.ColorToUIColor(c))) I would like to change bitmap of the button (on for open, on for close) but I do not arrive to do this. (initial load of bitmap is Ok) Is it possible? Thank
Hi, I use B4Xdrawer and I arrive to change the color of BarButton with this code Dim nx As NativeObject = NavControl Dim no As NativeObject =App nx.GetField("navigationBar").RunMethod("setTintColor:", Array(no.ColorToUIColor(c))) I would like to change bitmap of the button (on for open, on for close) but I do not arrive to do this. (initial load of bitmap is Ok) Is it possible? Thank
C Claude Brun Active Member Licensed User Longtime User Dec 6, 2019 #2 Hi, Sorry, it was a B4i question Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 8, 2019 #3 1. Moved to B4i forum. 2. Please use [code]code here...[/code] tags when posting code. Your question is not really related to B4XDrawer. You can change the top left button by setting Page.TopLeftButtons. https://www.b4x.com/search?query=TopLeftButtons Upvote 0
1. Moved to B4i forum. 2. Please use [code]code here...[/code] tags when posting code. Your question is not really related to B4XDrawer. You can change the top left button by setting Page.TopLeftButtons. https://www.b4x.com/search?query=TopLeftButtons