angel_ Well-Known Member Licensed User Longtime User Jul 30, 2020 #1 How can I delete the text (MainPage, Page...) of the back button?
Semen Matusovskiy Well-Known Member Licensed User Jul 30, 2020 #2 IMO, better to hide back button (Page.HideBackButton = True) and to use top left buttons (PageInstance.TopLeftButtons = Array (barbutton1, ...)). To create BarButton - see, for example, https://www.b4x.com/android/forum/threads/barbutton-icons.74192/#content Upvote 0
IMO, better to hide back button (Page.HideBackButton = True) and to use top left buttons (PageInstance.TopLeftButtons = Array (barbutton1, ...)). To create BarButton - see, for example, https://www.b4x.com/android/forum/threads/barbutton-icons.74192/#content
angel_ Well-Known Member Licensed User Longtime User Jul 30, 2020 #3 I use TabStrip and I think I like to keep only the back icon Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jul 31, 2020 #4 Do you want to allow the user to return to the previous page? If not then show the page with B4XPages.ShowPageAndRemovePreviousPages. Upvote 0
Do you want to allow the user to return to the previous page? If not then show the page with B4XPages.ShowPageAndRemovePreviousPages.
angel_ Well-Known Member Licensed User Longtime User Jul 31, 2020 #5 Erel said: Do you want to allow the user to return to the previous page? If not then show the page with B4XPages.ShowPageAndRemovePreviousPages. Click to expand... Yes, I need to allow go back to the previous page Upvote 0
Erel said: Do you want to allow the user to return to the previous page? If not then show the page with B4XPages.ShowPageAndRemovePreviousPages. Click to expand... Yes, I need to allow go back to the previous page
Erel B4X founder Staff member Licensed User Longtime User Aug 2, 2020 #6 Add to B4XPage_Created: B4X: #if B4i B4XPages.GetNativeParent(Me).HideBackButton = True #end if Upvote 0
angel_ Well-Known Member Licensed User Longtime User Aug 2, 2020 #7 Erel said: Add to B4XPage_Created: B4X: #if B4i B4XPages.GetNativeParent(Me).HideBackButton = True #end if Click to expand... Text does not disappear, I have tried the following and it seems to work properly B4X: Private Sub B4XPage_Disappear B4XPages.GetNativeParent(Me).Title = "" End Sub Upvote 0
Erel said: Add to B4XPage_Created: B4X: #if B4i B4XPages.GetNativeParent(Me).HideBackButton = True #end if Click to expand... Text does not disappear, I have tried the following and it seems to work properly B4X: Private Sub B4XPage_Disappear B4XPages.GetNativeParent(Me).Title = "" End Sub
Erel B4X founder Staff member Licensed User Longtime User Aug 2, 2020 #8 I've tested it with the three pages example and it worked: https://www.b4x.com/android/forum/threads/118901/#content You can try it with that example. Upvote 0
I've tested it with the three pages example and it worked: https://www.b4x.com/android/forum/threads/118901/#content You can try it with that example.
angel_ Well-Known Member Licensed User Longtime User Aug 2, 2020 #9 Erel said: I've tested it with the three pages example and it worked: https://www.b4x.com/android/forum/threads/118901/#content You can try it with that example. Click to expand... You are right but I want to delete the text and keep the icon Upvote 0
Erel said: I've tested it with the three pages example and it worked: https://www.b4x.com/android/forum/threads/118901/#content You can try it with that example. Click to expand... You are right but I want to delete the text and keep the icon