iOS Question ToolBarVisible

Ramezanpour

Active Member
Licensed User
Longtime User
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?
 

Haris Hafeez

Active Member
Licensed User
Longtime User
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
Top