R Ramezanpour Active Member Licensed User Longtime User Apr 27, 2015 #1 Hi I have 2 pages in page 1 ,ToolBarVisible is false and in page 2 ToolBarVisible is true but When i click on back button for go to page 1 ToolBarVisible dont change and it is visible . I want when Click on back button ToolBarVisible set to false Is Any way to control Back button?
Hi I have 2 pages in page 1 ,ToolBarVisible is false and in page 2 ToolBarVisible is true but When i click on back button for go to page 1 ToolBarVisible dont change and it is visible . I want when Click on back button ToolBarVisible set to false Is Any way to control Back button?
H Haris Hafeez Active Member Licensed User Longtime User Apr 27, 2015 #2 Hi, May be I haven't understood your problem but if you just want to hide the toolbar upon exiting a page, you can do something like: B4X: Private Sub MyPage_Disappear Main.NavControl.ToolBarVisible = False End Sub You should replace MyPage with the page event you have defined for your page 2. Hope this is helpful. Upvote 0
Hi, May be I haven't understood your problem but if you just want to hide the toolbar upon exiting a page, you can do something like: B4X: Private Sub MyPage_Disappear Main.NavControl.ToolBarVisible = False End Sub You should replace MyPage with the page event you have defined for your page 2. Hope this is helpful.